Jquery Listbox Return What User Selected
i am using this demo: http://www.emblematiq.com/lab/niceforms/demo/v20/niceforms.html i would like to know which values the user has selected.
Solution 2:
Try something like this:
ob = document.getElementById('languages');
for (var i = 0; i < ob.options.length; i++){
if (ob.options[ i ].selected){
alert(ob.options[ i ].value); //Do something useful here
}
}
Solution 3:
$("#languages").value;
should work
Post a Comment for "Jquery Listbox Return What User Selected"