Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reset select option jquery

$('ClassOrIDName').prop('selectedIndex',0); 
// this works perfectly. just put this in any action and your 1st option should be 'select one item' type
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reset #select #option #jquery
ADD COMMENT
Topic
Name
8+9 =