[jQuery] Toggling div based on radio buttons

[jQuery] Toggling div based on radio buttons


hi, been playing with jQuery for all of about 3 days, and I need some
assistance on something simple.
Basically I have a form with several fieldsets (I can wrap them in divs if
absolutely necessary) that need to be displayed/hidden based on radio button
selection. For example:
There are 4 radio buttons: Software, Hardware, Telecom and Field Device
If a user clicks Software, it should display the fieldset that contains
pertinent information for software. If a user misclicked, or has an
additional request for say, hardware, I would like any section that is shown
to be hidden prior to showing the hardware section.
I am, unfortunately, struggling with this, any ideas out there?
--
View this message in context: http://www.nabble.com/Toggling-div-based-on-radio-buttons-tf2821322.html#a7874735
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/