19,495
edits
(hmm, there's no infinite loop now) |
(jQuery works like this?) |
||
Line 30: | Line 30: | ||
{ | { | ||
alert("Found the arrow."); | alert("Found the arrow."); | ||
allTHs[k].trigger("click"); // use jQuery's trigger() to send click event to this arrow | $(allTHs[k]).trigger("click"); // use jQuery's trigger() to send click event to this arrow | ||
} | } | ||
} | } |