Toggle class name on click in jQuery
No-Library (pure JS), HTML, CSS, JavaScript
jQuery 3.3.1, HTML, CSS, JavaScript
Use a standard <a> tag to redirect of a JavaScript button (so google doesn't crawl it and cache the <a> tag)
We can use it in a know element or attach it to document root to detect any element added on the page and figure out its name, properties based on event.target parameter.
A Base fiddle for use in the issue section of github https://github.com/kenwheeler/slick/issues
jQuery 1.9.1, HTML, CSS, JavaScript