Solved

Javascrript Submit then automatic back

Posted on 2012-03-12
7
189 Views
Last Modified: 2012-04-11
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
Comment
Question by:madmare
  • 3
  • 3
7 Comments
 
LVL 82

Accepted Solution

by:
leakim971 earned 500 total points
ID: 37709424
could you do some changes on
va01.html

Open in new window

?

http://www.w3schools.com/jsref/met_his_back.asp
0
 

Author Comment

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

can you please to help via my code ?

 thanks again
0
 

Author Comment

by:madmare
ID: 37709445
yes i can make changes in the file
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 82

Expert Comment

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

Author Comment

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

 but no "back" was done

Thanks
0
 
LVL 82

Expert Comment

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

Expert Comment

by:COBOLdinosaur
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.


Cd&
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

920 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now