Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select and select based on value in jquery

$('.id_100 option')
     .removeAttr('selected')
     .filter('[value=val1]')
         .attr('selected', true)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #select #select #based #jquery
ADD COMMENT
Topic
Name
4+5 =