Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery disable option by value

$("select option[value='"+ $variable + "']").attr('disabled', true); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #disable #option
ADD COMMENT
Topic
Name
2+9 =