Disabling a drop down box depending on a dynamically generated value
Posted on 2003-03-27
I have a web application a JSP page that has two drop down boxes with following labels:
Box 1 : Choice 1
Box 2 : Some choices
My requirement is that when i select choice 2 , my Box 2 should get disabled but if i reselect choice 1 then the Box 2 should get enabled. Box 2 should should only be enabled if Choice 1 is selected. Can some one help me out on this.