Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: onChange wont work with IE4


Message #1 by "Duncan Falconer" <dfalconer@g...> on Mon, 24 Sep 2001 14:23:27
sorry i meant that my address is
dfalconer@g...
 



I've got a copy of IE4.  If you send me the URL I can check it for you.
> 
> Cheers -
> 
> George L Smyth, Webmaster
> U.S. Naval Academy Alumni Association
> 
>  -----Original Message-----
> From: 	Duncan Falconer [mailto:dfalconer@g...] 
> Sent:	Monday, September 24, 2001 10:23 AM
> To:	javascript
> Subject:	[javascript] onChange wont work with IE4
> 
> Hi,
>   i have two form within a page which are select items containing 
> navigation options. They use an onChange event to take the user to a new 
> page. They both use the same function and this all works swimmingly in 
> Netscape 4 upwards and IE5 but i have had a report of it not working in 
> IE4. Is there a problem with the onChange event in IE4. The function 
being 
> used is
> 
> function MM_jumpMenu(targ,selObj,restore){ //v3.0
>   eval(targ+".location='"+selObj.options
[selObj.selectedIndex].value+"'");
>   if (restore) selObj.selectedIndex=0;
> }
> 
> 
> and the onChange code is
> 
> <select class="unitDropdown" size="" name="unitMenu" 
onChange="MM_jumpMenu
> ('parent',this,0)">"
> 
> help pleaaaaseeee its driving me mad. 
> 
> 
> thanks
> Duncan
> 
> P.S. I cant check it on ie4 myself because i am on windows 2000 does 
> anyone know a good ie4 emulator for windows 2000.

  Return to Index