Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

set dropdown in jquery

$('select[name^="salesrep"] option[value="Bruce Jones"]').attr("selected","selected");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #dropdown #jquery
ADD COMMENT
Topic
Name
4+1 =