[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 199
  • Last Modified:

Javascrript Submit then automatic back

Hello Experts,
 how do I improve my code to go back ( to blank page) after the Submit.

<html>
  <body>< TABLE  >  <TR> <TD  >
    <form name="LTXParameters" method="post" action="http://crmdev1.metalabc.com/zhp_in/va01.htm
l=X" >
<input type=hidden name="CUSROMER_ID"value="0000101370">
    </form>
 </TD></TR> </TABLE>
  </body>
</html>
<script> document.LTXParameters.submit(); 

</script>
</HTML>

Open in new window

0
madmare
Asked:
madmare
  • 3
  • 3
1 Solution
 
leakim971PluritechnicianCommented:
could you do some changes on
va01.html

Open in new window

?

http://www.w3schools.com/jsref/met_his_back.asp
0
 
madmareAuthor Commented:
the back command dos't work after submit

can you please to help via my code ?

 thanks again
0
 
madmareAuthor Commented:
yes i can make changes in the file
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
leakim971PluritechnicianCommented:
so just take a look to the link provided :)
0
 
madmareAuthor Commented:
I tried it
 i put the "back" command in my file after the "submit" command

 but no "back" was done

Thanks
0
 
leakim971PluritechnicianCommented:
I know only this way to go back from an other page... sorry.
Please wait help of others experts.
0
 
COBOLdinosaurCommented:
i put the "back" command in my file after the "submit" command

The submit effectively ends the relationship between the page and the browser.  and code after the the submit will not get executed.

You have to code any re-direction on the server side.


Cd&
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now