Add Remove class using Jquery UI - Web Development

Add Remove class using Jquery UI

addclass() method used to change css properties .This is the syntex of addClass method :-
.addClass( className [, duration ] [, easing ] [, complete ] ) 

Explanation of syntex :-P

  • ClassName: It is a string which contains CSS classes.
  • Duration:This is used to for time duration. 1000 miliseconds it means you have set 1 second 2000 – > 2 Seconds ,10000 Miliseconds ->10 Seconds.

If you run this code then your output :-

Learn How to add & remove class using Jquery
JQuery is a javascript library

One more example of Add Remove class

If you run this code in your browser output:-

Add Remove Class in Jquery UI

Jquery is javascript library

See more examples of php and jquery

Leave a Reply

Your email address will not be published. Required fields are marked *