110
rated 0 times
[
113]
[
3]
/ answers: 1 / hits: 18574
/ 13 Years ago, thu, february 2, 2012, 12:00:00
<div class=box></div>
<div class=box></div> <!-- Hide -->
<div class=box></div> <!-- Hide -->
<div class=box></div> <!-- Hide -->
I need to hide all this div but not the first div.
I could do something like this:
jQuery('.box').hide();
jQuery('.box').first().show();
Is there a way to remove the first .box
from the array before .hide()
em?
More From » jquery