Tutorialsplane

last-child Selector- jQuery


$( “:last-child” ) – selector is used to select the last child of its parent.

Syntax : last-child Selector- jQuery

last-child Selector- jQuery Example




<title>last-child Selector- jQuery Example</title>
 
 
  
	

 
Click Me

<ol>
  <li> First Item </li>
  <li> Second Item </li>
  <li> Third Item </li>
</ol>

             

Try it »