/ Published in: jQuery
Call the function like this:
getChild('.div ul li',4,'newclass',1,1);
Explain: Get all the li's, on every 4 add "newclass", plus, i want a ".clear" and ".seperator" div (to clear the floats and style the separator properly)
getChild('.div ul li',4,'newclass',1,1);
Explain: Get all the li's, on every 4 add "newclass", plus, i want a ".clear" and ".seperator" div (to clear the floats and style the separator properly)