/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('#parent > .childs').click(function(){ x = $('#parent > .childs').index(this); return false; });