Re: Adding Targets in Drop Down Boxes

by "apathetic" <tim(at)apatheticgenius.com>

 Date:  Mon, 24 Sep 2001 08:47:57 +0100
 To:  "Larry Coats" <lcoats(at)gte.net>,
"HWG" <hwg-techniques(at)hwg.org>
 References:  woodybass gte
  todo: View Thread, Original
> In fact, I think you could simplify the onchange down to this:
> 
> top.header.location.href = this.options[this.selectedIndex].value

You can, I believe, simplify it to this:

top.header.location = options[ selectedIndex ].value

Tim

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA