Answers for "disable click on text of select dropdown"

0

css disable text select

-webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;          /* Likely future */
Posted by: Guest on June-24-2021
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

Browse Popular Code Answers by Language