jQuery Tutorial


jQuery Example


jQuery References


jQuery HTML removeClass() Method Reference


  All jQuery with HTML Method References


Uses

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


Syntax

$(selector).removeClass(classname)

jQuery removeClass() method supported following parameters.

ParameterDescription
classnameclassname is Required parameter. remove one or all css class.

jQuery removeClass() Method Example

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

  All jQuery with HTML Method References