By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,627 Members | 1,916 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,627 IT Pros & Developers. It's quick & easy.

code Hide and show the div in JSP

P: 6
Hi I am creating a survey page in which I have 10 questions.Now my requirement is, if user answer 3rd question to yes then he can see 4th and 5th option , If he selects no he directly come to 6th question.


Plz help
Nov 28 '07 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
Welcome to TSDN!

Use the style.visibility property and set it to "visible" to show or "hidden" to hide.

Alternatively, set the style.display property to "block" to show and "none" to hide.
Nov 28 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.