jQuery Tutorial


jQuery Example


jQuery References


jQuery CSS removeClass() Method Reference


  jQuery CSS method References


Uses

jQuery removeClass() method removes one or all class from selected elements.


Syntax

$(selector).removeClass(classname)

jQuery removeClass() method support following parameter.

Parameter Description
classname classname is Required parameter. remove one or all css class.

jQuery CSS removeClass() method Example

<script type="text/javascript"> 
$(document).ready(function(){
  $("button").click(function(){
    $("p").removeClass("param");
  });
});
<script>
Online Try This Code Your Self....   »

  jQuery CSS method References