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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -