Tutorialsplane

Class Selector jQuery Example


$(“.class”) – selector is used to select the elements in the page which have class “.class”.

Class Selector jQuery Example – $(“.class”)

Class Selector jQuery Example with syntax




<title>jQuery $(".class") Example</title>
 
 
  
	

   <div class="myclass"> 
      Div One..
   </div>
   <br/>
   <div> 
    Div Two..
    </div>
    <p class="myclass"> 
      Paragraph..
    </p>
    <span class="myclass"> 
     Span...
    </span>


             

Try it »