Link to home
Start Free TrialLog in
Avatar of ToString1
ToString1

asked on

show hide fieldset tags with jquery post in MVC

I have an asp.net mvc view that is rendering out a customer questionnaire.

Each question is wrapped in a fieldset (see code snippett)

I want jquery to only show one field set at a time in the view and then on the click of a "Next" button then the next fieldset is shown and so on.

So it would be rendered like

<fieldset>
Q1  What is your location
                                                                                              nextbutton
</fieldset>





<fieldset>
Q1   What is your location
</fieldset>


<fieldset>
Q2  What is your zip code
</fieldset>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of halfbloodprince
halfbloodprince

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial