jQuery

How to remove all css classes from an element using jQuery

This topic contains 0 replies, has 1 voice, and was last updated by Profile photo of Jitto P.Jose Jitto P.Jose 3 years, 11 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3878
    Profile photo of Jitto P.Jose
    Jitto P.Jose
    Moderator

    All the CSS class can be removed from an element using jQuery with following code.

    $('#elementId').removeClass();

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.