![]() |
|
|
| Subject:
Javascript
Category: Computers > Programming Asked by: seena1-ga List Price: $10.00 |
Posted:
13 Apr 2006 20:36 PDT
Expires: 18 Apr 2006 18:45 PDT Question ID: 718745 |
I have a JSP page with about 4 required fields out of which one is an
html:select element.This is represented as
<html:select style="width:22%" property="title" >
<option value=""/> <html:optionsCollection property="allTitles" />
</html:select>
Requirement:
Based on selection of choice in this element 10 more questions can be displayed.
How do I do it? I need the javascript code which does the following
:
As soon as the user selects a particular choice , it should set some
test variable to be true which i possibly can use for conditional
display of other 10 questions.
(I already have JSTL tags "<c:if...>" in place which basically checks
the value of a test variable , and if that is true then displays all
the other questions. For the time being i have set that particular
variable as true)
I am using JSP as part of my Struts framework. |
|
| There is no answer at this time. |
|
| Subject:
Re: Javascript
From: sublime1-ga on 14 Apr 2006 00:39 PDT |
seena1... I am not personally knowledgeable about this specific code, however, I thought I'd bring to your attention a searchable code website which, if you're familiar with the coding to some extent, allows you to search for related code. It's currently in Beta, but is functional to a large extent. Krugle http://www.krugle.com/ Sadly, they're no longer taking signups for the Beta version, but you can keep track of it on their blog: http://www.krugle.net/wordpress/ |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
| Search Google Answers for |
| Google Home - Answers FAQ - Terms of Service - Privacy Policy |