Page 1 of 1

Getting value from select list

Posted: Sun Apr 27, 2014 9:27 pm
by RobertJay

I seem unable to retrieve the value of the selected option of a select list called "char1". I tried the following, for example, and got no value back. Thanks.

var t1 = $('#char1').val();
alert(t1);


Getting value from select list

Posted: Sun Apr 27, 2014 9:50 pm
by Alena Prykhodko

Hi,

Please look at a similar question here https://getsatisfaction.com/apperyio/...


Getting value from select list

Posted: Sun Apr 27, 2014 10:13 pm
by RobertJay

Thank you Alena - that works perfectly. I did not find that post earlier since I was searching for select list (rather than select component).