This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Do disable an option in drowdown

 
Parul Tripathi
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic