Solved

show hide fieldset tags with jquery post in MVC

Posted on 2010-08-31
1
1,813 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 7

Accepted Solution

by:
halfbloodprince earned 500 total points
ID: 33567787
0

Featured Post

Cloud Training Guides

FREE GUIDES: In-depth and hand-crafted Linux, AWS, OpenStack, DevOps, Azure, and Cloud training guides created by Linux Academy instructors and the community.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

617 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