Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jquery .remove() undo?

Tags:

jquery

Is there any way to achieve this? I am using a pagination plugin that reads the number of li's inside my ul and determines the number of numbered links to spit out.

like image 555
Ronal Avatar asked Dec 08 '22 06:12

Ronal


1 Answers

You probably want to use .hide() and check to see if the li is visible or not.

This can be done with $("li:visible")

like image 140
helloandre Avatar answered Dec 09 '22 19:12

helloandre