Is there a one lined way to hide all of a certain type of elements in one selector. I know you could do this:
$('p').hide();
$('p:first(or :eq(0)').show()
Possibly something like this:
$('p:eq(>0)')
Is there a one lined way to hide all of a certain type of elements in one selector. I know you could do this:
$('p').hide();
$('p:first(or :eq(0)').show()
Possibly something like this:
$('p:eq(>0)')