[Solved] write $(this) of Jquery in pure javascript [closed]
$(this) returns a jQuery object, so it doesn’t make sense to ask how to implement this outside of jQuery. What you can implement is the addClass function, which you can easily do using DOM: this.className += “animated doneAnimated” + (pageLoaded ? ” fadeInUp” : “”)); That way you use vanilla javascript to alter classes. However, … Read more