File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Java » JSF
Bookmark "Do disable an option in drowdown" Watch "Do disable an option in drowdown" New topic
Author

Do disable an option in drowdown

Parul Tripathi
Greenhorn

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