Posted By

tonatiuh on 02/27/11


Tagged

element jquery collection one


Versions (?)

Accesing one element of a jQuery collection


 / Published in: jQuery
 

  1. $('#parent > .childs').click(function(){
  2. x = $('#parent > .childs').index(this);
  3. return false;
  4. });

Report this snippet  

You need to login to post a comment.