logo-MindMajix
PostjQueryjQuery
i
imran mohammad

Posted on 24th July 2024|44 views

0
votes

Replace Class In Jquery

What is the use of replace class in jQuery?

1 answers
Answers
P
chris bons

Posted on 24th July 2024| views

To replace all current classes with a different class, we can apply .attr( "class", "new/diff class" ) rather. As of jQuery 1.4, that .removeClass() method permits us to designate the class to be removed by passing within a function.

If you are looking for the Jquery certification course, you can check out this Jquery Online course by Mindmajix.
 

Write your answer

STILL GOT QUERIES?

Get a Live FREE Demo

  • Explore the trending and niche courses and learning maps
  • Learn about tuition fee, payment plans, and scholarships
  • Get access to webinars and self-paced learning videos
Name
Course *
Email *
Phone Number