Count the number of li's in a ul after some of the li's have had .remove() on them?

Posted by tarnfeld on Stack Overflow See other posts from Stack Overflow or by tarnfeld
Published on 2010-04-03T09:12:07Z Indexed on 2010/04/03 9:13 UTC
Read the original article Hit count: 150

Filed under:

When you hit the delete button a nice effect is run on that li and it is removed by using jquery's .remove() function. For some reason if i try to .size() on the parent ul it just still says the number of list items that were there when the page loaded?

© Stack Overflow or respective owner

Related posts about jQuery