+ 1
How do you use the slideToggle function in jQuery with classes?
3 Answers
+ 4
Aiki jQuery selectors are like CSS selectors.
$(".class1").slideToggle(200)
+ 2
There is a basic example
https://code.sololearn.com/WgDNaNWrcBYG/?ref=app
+ 2
Jesus Eduardo Canul Koyoc I mean with classes in html. Like if you had something like this in a style tag:
.class1 {
code;
}
Then you do the slide Toggle thing with what the class is. How do you do that