Here is the scenario: I have two radio buttons, 1) for a normal customers and 2) for business partners which also has a drop down control so that one of X number of business partners can be selected. When one customer type is selected the other section goes dark with the normal disabling of controls and applying CSS to get that disabled look.
What I'm striving for is that when the Radio Button, Label next to it and, in the case of the Business partner section, the drop down list are clicked is that particular section should become enabled. What I'm finding is that the when the 'Label for' is wrapped around the radio button and drop down list, which has its attribute disabled=true via jQuery when the opposite section is enabled, that actually clicking on the drop list doesn't enable that section. Also the click event is not fired for the drop list which I assume is correct since its disabled state is set to true. I've tried using both the click event for the radio buttons and the labels but the disabled dropdown list seems to be an event handling black hole. I am using jQuery and Asp.net MVC but I'm convinced of the relevance of, at least, MVC in this case.
The radio button and label click event will fire through the disabled dropdownlist in IE7 but not Firefox3 nor Chrome browsers.
Any ideas?
<label for="CustomerRadio">
<input id="CustomerRadio" checked="checked"
name="usertype" type="radio"
value="Customer" />Customer
</label>
<label for="BusinessPartnerRadio">
<input id="BusinessPartnerRadio"
name="usertype" type="radio"
value="BusinessPartner" />Business Partner
<select id="businessPartnerType" name="businessPartnerType">
<option selected="selected" value="Builder">Builder</option>
<option value="InstallDealer">Install Dealer</option>
<option value="RepairDealer">Repair Dealer</option>
</select>
</label>