Hi,
I am trying to access my SELECT element with jQuery but I can't make it
working :
This works :
alert(document.getElementById('aller')); // [object]
var sel = document.getElementById('aller');
alert(sel.selectedIndex); // 0
This not working :
alert($(document.aller)); // [object Object]
alert($(document.aller).selectedIndex); // undefined
Could anyone help me ?
Thank u for any comment.
--
View this message in context:
http://www.nabble.com/%24%28elem%29--question-tf4011702s15494.html#a11392465
Sent from the JQuery mailing list archive at Nabble.com.