Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Need help in redirection


Message #1 by "G.Taylor" <gtaylor@O...> on Fri, 15 Jun 2001 12:03:49 +0200
just set the target of the form to be the current page, and then submit the
form in the onChange

<FORM ... TARGET="current.url">

<INPUT ... ONCHANGE="document.forms(0).submit();">

</FORM>


-----Original Message-----
From: G.Taylor [mailto:gtaylor@O...]
Sent: 15 June 2001 11:04
To: javascript
Subject: [javascript] Need help in redirection


Hi,

Im using an OnChange="window.location='current.url'" to redirect onto the
same page.....

However I want to submit the data in the form that the OnChange is in to the
URL.

How can I do this?

Many thanks

--
Guy Taylor
Software Engineer
OrbitalM
http://www.orbitalm.com
--

  Return to Index