0

Toggle current clicked element

How would I toggle on/off the clicked element? This is what I thought would work: $(function() { $(this).click(function() { $(this).toggle(); //$("div").toggle(); }); });

14th Apr 2019, 1:58 AM
Erik Torres
2 Answers
14th Apr 2019, 4:29 AM
Gordon
Gordon - avatar
0
Thanks.
21st Apr 2019, 9:09 PM
Erik Torres