I have a JSP wherein a dropdown option implements as:
<html:select property="ComplayDetail">
<html:options collection="companyList" name="companyAttribute" property="attribute" />
</html:select>
This drop-down option has values dynamically added like ABC,CDE, DEF,EfG.... Now i want to make an option i.e. DEF disable.
Can anyone help me to achieve this?
i think for jquery like :