This suggests that when you do this:
$("#whatever").trigger(""click");
...you are trying to get an .on event specified upstream in code like so:
$("#whatever").on("click", function() { alert('whatever'); });
...to fire off.
No comments:
Post a Comment