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

madmareAsked:
Who is Participating?
 
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
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.