Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select2 set value jquery

$('#inputID').select2('data', {id: 100, a_key: 'Lorem Ipsum'});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #jquery
ADD COMMENT
Topic
Name
9+8 =