Is this possible? For me to get the eq() value? For example, if I click the li:eq(2), var x will become 2. Here's the code.
eq()
li:eq(2)
x
2
$('#numbers ul li').click(function(){ x=$(this).eq().val(); alert(x); });