I want to change a class onclick. What I have at the moment:
Another example is:
$(".myClass").on("click", function () { var $this = $(this); if ($this.hasClass("show") { $this.removeClass("show"); } else { $this.addClass("show"); } });