I'm trying to show/hide 2 different divs based on which choice a user has
selected (could be radio buttons or a select)
<div id="selectionPane">
<label for="reports">reports </label><input name="type" id="reports"
type="radio" value="true" />
<label for="files"> files </label><input name="type" id="files"
type="radio" value="true" />
</div>
<div id="reportsPane">Reports options here</div>
<div id="filesPane">Files options here</div>
So, if the user selects "files", then #reportsPane is hidden and #filesPane
is shown. If user selects "reports", then #reportsPane is hidden and
#filesPane is shown.
This seems so simple, but I can't figure out how to get this to happen. Can
someone point me to a relevant tutorial?
Thanks!
--
View this message in context:
http://www.nabble.com/show-hide-div-based-on-radio-buttons-select-options-tf3151990.html#a8740044
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/