Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: window.navigate using javascript


Message #1 by Nestor Rueda <nestor92@y...> on Tue, 18 Jun 2002 10:41:38 -0400 (EDT)
Hi everyone,

I have a form with a lot of hidden fields that I need
to post to a different server and I need to run an asp
script (stored in another asp page) when the user
click the Submit button, so I use the window.navigate
method to execute the script (I don't want to open a
new window and then close it after running the asp
script).

I am using VBscript code but to be browser-safe I
would like to implement a Javascript instead, and I
don't know how to achieve the same result using
javascript. Any suggestions?

My vbscript code is:
<script LANGUAGE="vbscript">
<!--
Sub form1_onsubmit

 set oNavWin = window.navigate ("abandon.asp")
		
End Sub
-->
</script>

Thanks in advance,

Nestor


______________________________________________________________________ 
Post your ad for free now! http://personals.yahoo.ca

  Return to Index