jQuery bind/unbind not working on firefox or in some other browsers

jQuery bind/unbind not working on firefox or in some other browsers

So, your jQuery bind is working OK on all browsers and not in firefox?

At least in my case, it worked on chrome and not on FF.

Let me put it using example:

let’s say we want to assign click event to some item with id = ‘bindable’


$('#bindable').bind('click', function(){
      alert ('From the truth and search of truth, I would prefer the later..');
});

this snippet works fine in chrome and others. but in firefox it is NOT.

The culprit is in passing the ‘event’


$('#bindable').bind('click', function(event){//look mom, i pass the event here..
      alert ('From the truth and search of truth, I would prefer the later..');
});

See mode javascript stuffs

a hello world tutorial using node js with http web server

node js mongo db and angular js tutorial for beginners from scratch

Redirect in Javascript

Browser shows the same image after the update

Select an element with multiple classes jQuery

Mommy look.. Upgrading jQuery breaks live :(

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*