Home » JQuery » JQuery trigger click event not working

JQuery trigger click event not working

Sometimes jquery trigger click event not working properly.That is not the browser issue.There is not jquery conflicting or javascript errors.If you already added jQuery.noConflict(), not working trigger click event.The main issue is the .click() function call is calling the browser’s built-in ‘click’ function,not the jquery’s.In other words, you can only trigger a click that jQuery has created.


Here is the basic script.

Solutions….

So we’ll see how to fix this simple issue.

Note:- [0] gets the first (DOM) element.

Tags

Similar posts