Revision: 21928
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at December 24, 2009 04:27 by daipratt
Initial Code
$("ul > li").click(function () { var index = $(this).prevAll().length; });
Initial URL
Initial Description
Initial Title
Determine the index of an element, properly.
Initial Tags
jquery
Initial Language
jQuery