So I am working with css animations, and in javascript you can start one and stop one with the following code:
element.style.webkitAnimationPlayState="paused";
element.style.webkitAnimationPlayState="running";
now I have some Jquery that looks as such:
$(".info").click(function(){
$it = $(this).closest(".thing");
//how can I use the above javascript on the specified jquery element?
});
my question is in the comment in the code. Is this possible? and how?