[thelist] JS to toggle visibilty from radio button for NN4.x/IE4.x+

Duncan O'Neill dbaxo at ihug.co.nz
Sat Jul 27 02:48:02 CDT 2002


aardvark wrote:
> i have three radio buttons, and depending on which radio button is
> selected, i want to show a related select menu on the page...
> basically i want to toggle the visibility of a select menu (or its
> container) using the radio buttons....
>
> i have script that works in IE5.x+, but i need to support NN4.x, and
> possibly IE4.x...

This may help. It's the page from Dave Thau's JavaScript
tutorial at Webmoneky dealing with radio buttons. His
example, though simple, works on PC / NN4.x &  / IE5.5,
and I assume IE4.x.

http://makeashorterlink.com/?G30A22D51

Also, you'll need to toggle 'visibility' between  'hide' &
'show' for NN4.x, as opposed to 'visible' and 'hidden' for
other browsers.

--
=====================================================
Duncan O'Neill
"Smith The Reporter"
http://homepages.ihug.co.nz/~dbaxo/urban_legend.htm
=====================================================




More information about the thelist mailing list