Solved

show hide fieldset tags with jquery post in MVC

Posted on 2010-08-31
1
1,785 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

The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

Question has a verified solution.

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

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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 …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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