Dear eyal,<br><br><select name="x" id="x" onchange="myOnChange()"><br><option value="1">Item one</option><br><option value="2">Item two</option><br><option value="3">Item three</option><br></select><br><script language=javascript><br><!--<br>function myOnChange(){<br> alert("in myOnChange()"<br> // don't know what you want to do here!<br>}<br>--><br></script><br><br>Hope this helps<br>-pete
All you need to do is create the function myOnChange in VBScript instead.<br><br><script language=vbscript><br>Private Function myOnChange(InValue)<br> 'Blah de blah<br>End Function<br></script><br><br>Remember though, VBScript is really for Server Side scripting.<br><br>I'd recommend getting something like 'Javascript Bible' for a good all round book on Javascript. MSDN information can be found at: <br><br><A HREF="
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.