wood burning stoves 2.0*
The moose likes JSF and the fly likes Do disable an option in drowdown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Do disable an option in drowdown" Watch "Do disable an option in drowdown" New topic

Do disable an option in drowdown

Parul Tripathi

Joined: May 26, 2007
Posts: 13
Hi, I am using html:select and htmlptioncollections tag for html drowdown. I want a code in javascript that would disable city option in second drop down if city option is selected in first dropdown. document.forms[0].selectProperty[0].disabled = true is not working. Can any please let me know the code
I agree. Here's the link: http://aspose.com/file-tools
subject: Do disable an option in drowdown
Similar Threads
struts2 select and js
To disable an option in dropdown
Show the selected value in dropdown again
Fetching values from database and populating it in drop down and text fields
jsp and jqeury onchange event for select box