Javascrript Submit then automatic back

Posted on 2012-03-12
Last Modified: 2012-04-11
Hello Experts,
 how do I improve my code to go back ( to blank page) after the Submit.

  <body>< TABLE  >  <TR> <TD  >
    <form name="LTXParameters" method="post" action="
l=X" >
<input type=hidden name="CUSROMER_ID"value="0000101370">
 </TD></TR> </TABLE>
<script> document.LTXParameters.submit(); 


Open in new window

Question by:madmare
  • 3
  • 3
LVL 82

Accepted Solution

leakim971 earned 500 total points
ID: 37709424
could you do some changes on

Open in new window


Author Comment

ID: 37709431
the back command dos't work after submit

can you please to help via my code ?

 thanks again

Author Comment

ID: 37709445
yes i can make changes in the file
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

LVL 82

Expert Comment

ID: 37709550
so just take a look to the link provided :)

Author Comment

ID: 37709591
I tried it
 i put the "back" command in my file after the "submit" command

 but no "back" was done

LVL 82

Expert Comment

ID: 37709603
I know only this way to go back from an other page... sorry.
Please wait help of others experts.
LVL 53

Expert Comment

ID: 37711049
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.


Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Filktering Alphabetically 8 32
Are these icons a web font? 3 21
Bootstrap list items overlap 3 11
JS Event Does not Trigger From File 2 28
This article discusses four methods for overlaying images in a container on a web page
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question