disable dropdown jquery code example
Example: disable option dropdown jquery
//disable by value
$("#ddlList option[value='jquery']").attr("disabled","disabled");
//disable by text
$('#ddlList option:contains("HTML")').attr("disabled","disabled");
//disable by value
$("#ddlList option[value='jquery']").attr("disabled","disabled");
//disable by text
$('#ddlList option:contains("HTML")').attr("disabled","disabled");