Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

select2 set value jquery

$('#all_contacts').select2('data', {id: '123', text: 'res_data.primary_email'});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #jquery
ADD COMMENT
Topic
Name
6+5 =