Solved

Javascrript Submit then automatic back

Posted on 2012-03-12
7
188 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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

744 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

11 Experts available now in Live!

Get 1:1 Help Now