<input type="text" id="textbox">
<input type="radio" id="radio1" name="on">
<input type="radio" id="radio2" name="off">
I need to display #textbox only if #radio1 is selected (first pageload). Or #radio2 is selected on first page load and the user clicks #radio2 the textbox should also show.
Any suggestions how to do this?
demo