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?
 
leakim971Connect With a Mentor PluritechnicianCommented:
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
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
All Courses

From novice to tech pro — start learning today.