Search
 
SCRIPT & CODE EXAMPLE
 

HTML

disable first option in select

<select>
   <option hidden>Choose</option>
   <option>Item 1</option>
   <option>Item 2</option>
</select>
Comment

Disable form first dropdown option

<!-- disable form first dropdown option -->
<script type="text/javascript">
  $( "form option:first-child" ).attr("disabled","disabled");
</script>
Comment

PREVIOUS NEXT
Code Example
Html :: bootstrap 5 hamburger menu 
Html :: textarea 
Html :: how to add html in useState 
Html :: fork me github ribbon code html css 
Html :: html interview 
Html :: input type html 
Html :: vertical line navigation bar 
Html :: fee receipt format html 
Html :: bootstrap navs tabs code 
Html :: html <input 
Html :: external css 
Html :: how to horizontal line in html 
Html :: how to run html file in xampp server 
Html :: bootstrap 4.5 product grid 
Html :: bootsrap cards 
Html :: how to code in html 
Html :: pdf download button 
Html :: alpine function 
Html :: wp audio volume 
Html :: smart contract spdx license 
Html :: crawler get text, not get html 
Html :: bootstrap navabar 
Html :: nice error page html 
Html :: bootstrap small 
Html :: HTML <ins 
Html :: basic html tag 
Html :: password setCustomValidity html5 
Html :: tailwind flex grow 1 
Html :: ctx arc 
Html :: html p 
ADD CONTENT
Topic
Content
Source link
Name
3+2 =