javascript - Unable to handle click events in Firefox -


the button trying handle:

< input type="submit" class="btn flownextbtn" value="next" name="p:i:f:bottom:next" id="p:i:f:bottom:next"> 

here's have tried:

$(".flownextbtn").click(function() {     alert("clicked"); }); 

and

$("[id='p:i:f:bottom:next']").click(function() {     alert("clicked"); }); 

and

$("[id='p:i:f:bottom:next']").one("click", function() {     alert("clicked"); }); 

and

document.getelementbyid("p:i:f:bottom:next").addeventlistener("click", function() {     alert("clicked"); }); 

and

document.getelementbyid("p:i:f:bottom:next").onclick = function() {     alert("clicked"); }; 

all of above work fine in chrome; when button clicked alert popup. ideas what's causing firefox dislike script? i'm not seeing errors in firebug console. when debug objects using js/jquery see in console (i.e. script finding button it's not able handle click event).

i upgraded firefox , issue went away! on version 19.0.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -