I am planning a following html output with PHP. Now when I select week, I want to slide in week div, selecting day,day div etc.
How can I do it with jquery.
<div id="main">
<form>
<div id="week_day_time">
<input type="radio" name="week_day_time" value="week" />Week<br />
<input type="radio" name="week_day_time" value="day" />Day<br />
<input type="radio" name="week_day_time" value="time" />Time
</div>
<div id="week">
more form for week.
originally hidden by css. But it will open when you select a week radio button.
more form for week
</div>
<div id="day">
more form...
originally hidden by css. But it will open when you select a day radio button.
more form for day
</div>
<div id="time">
more form...
originally hidden by css. But it will open when you select a time radio button.
more form for time
</div>
</form>
</div>