hwg-languages archives | May 2000 | new search | results | previous | next |
RE: JavaScript submit on select from dropdownby "eric williams" <eric_alt(at)hotmail.com> |
|
Is this what you're looking for? <html> <head> <SCRIPT LANGUAGE="JavaScript"> function SendTo_Template() { choice= pagechange.ProductNumber.value;document.writeln("Your choice was "+choice); window.location.href = choice; } </SCRIPT> </HEAD> <BODY bgcolor="#eeeeee"> <FORM name="pagechange"> <SELECT size="1" NAME="ProductNumber" onChange="SendTo_Template(pagechange.ProductNumber)"> <OPTION >select a page</OPTION> <OPTION value="page1.cfm">Target Page One</OPTION> <OPTION value="page2.cfm">Target Page Two</OPTION> <option value="testoutput.html">Home</option> </SELECT> </FORM> </body></html> eric- http://go.to/BateyOrg ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA