Hi guys,
How can i get the text of the selected value in a combobox using jQuery. I have tried the following and its not working;
jQuery('#fieldname-container option:selected').text();
I am using appgini 5.51
jQuery Combobox Selecting text
Re: jQuery Combobox Selecting text
You get the object this way:
$j('#yourfield-container').select2('data')
If you want directly the text:
$j('#yourfield-container').select2('data').text
$j('#yourfield-container').select2('data')
If you want directly the text:
$j('#yourfield-container').select2('data').text
/Giuseppe
Professional Outsourcing Services
Professional Outsourcing Services
Re: jQuery Combobox Selecting text
Hi,
Can I ask where to add this codes?
Can I ask where to add this codes?