javascript - jQuery 'click' event not firing -


i can't life of me figure out why click function isn't working on codepen. know how use jquery's click method. if second set of eyes @ , diagnose, appreciated. here fork of codepen, click method top , looks this:

$('button').click(function() {   alert('clicked!'); }); 

here relevant html:

<section class="left">   <button class="left-button">show chart</button> </section> 

here codepen.

(i've used exact same click method here , works fine)

it's css. removed css , worked. buttons blocked stuff. need in front clicked.

your sections set z-index of -1.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -