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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -