Answers for "disable only one option in dropdown"

0

Disable form first dropdown option

<!-- disable form first dropdown option -->
<script type="text/javascript">
  $( "form option:first-child" ).attr("disabled","disabled");
</script>
Posted by: Guest on August-16-2021

Code answers related to "disable only one option in dropdown"

Browse Popular Code Answers by Language