Tutorialsplane

href attribute selector – jQuery


$(“[href]”) – selector is used to select the all elements which have attribute “href”.

Syntax : href attribute selector

href attribute selector – jQuery Example




<title>href attribute selector - jQuery Example</title>
 
 
  
	

 
Click Me

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

             

Try it »