Select 2nd element of UL
Posted: Wed Apr 13, 2011 2:29 am
Hello Guys,
I am using Jquery to show or hide element of <ul> with the following code:
or
but this will help me with only first & last element, if I want to do this with 2nd or 3rd then what I have to do??
Please help me..
Thanks in advance...
I am using Jquery to show or hide element of <ul> with the following code:
Code: Select all
$('#menu ul:first').show();Code: Select all
$('#menu ul:last').show();Please help me..
Thanks in advance...