[jQuery] Simple selector problem
$(document).ready(function { alert($("div").length); }); -- div 1 div 2 div 3 I'm using jQuery 1.3.2. In IE, this returns 3. In Firefox, it returns 4. What's going on?
[jQuery] simple selector problem :beginner();
I like to select every span, thats in "this" $(this "span") sorry, simple and stupid... full function: function liCounting (){ $("#staerke1 li,#staerke2 li").each(function(liCounter){ liCounter++; //set liCounter to 1, not 0