javascript - event different in "click with mouse" and "trigger" -


i have bind event like:

$(document).on('click', selector, proxy); 

what difference between "click mouse" , "do trigger xxx.trigger('click');" principle in calling callback function?

both same, click() shorthand of trigger('click').

more info here.

i found info too, in stackoverflow.


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -