Solved

show hide fieldset tags with jquery post in MVC

Posted on 2010-08-31
1
1,777 Views
Last Modified: 2012-05-10
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

0
Comment
Question by:ToString1
1 Comment
 
LVL 7

Accepted Solution

by:
halfbloodprince earned 500 total points
ID: 33567787
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question