Answers for "prevent first 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 "prevent first option in dropdown"

Browse Popular Code Answers by Language