Your Open Source

how to deselect or select the SELSECT box value using javascript

how to deselect or select the SELSECT box value using javascript

document.getElementById("selectid").selectedIndex = 0;// to select the 0'th index 

document.getElementById("selectid").selectedIndex = 4;

  • hits 9072
  • datetime Aug 13 08 11:42:44
  • author Damu
  • rating

Rating : 12345
Tags :- JavaScript

Answers

Sam
Aug 13 08 12:53:27
Good work! keep it man

Your Name:
Your Answers :
<> is a code tag
Preview
Enter the verification code: