Page 1 of 1

selected value of Select component

Posted: Thu Mar 20, 2014 6:37 pm
by bhagat bisht

My requirement is to send select component selected value to some rest api can you help me to get select component value in javascript once the user select a value from select coponent?


selected value of Select component

Posted: Thu Mar 20, 2014 7:14 pm
by Maryna Brodina

Hello!

"once the user select a value from select coponent" - you need Value change event. In JS code added on this event you can retrieve select value this way pre$(this).val()/preor in any other JS added on any event preAppery("mobileselectmenuName").val()/pre


selected value of Select component

Posted: Thu Mar 20, 2014 10:08 pm
by bhagat bisht

Thanks It worked