[jQuery] How do I get "Triggered" event to stop looping?
Hello,
Currently opening a dialog box and then trying to trigger some code to
run once the dialog box has opened. The code is triggered by the
following code:
$("a.addGoal").trigger('click');
The "addGoal" code runs fine, the only issue I have is that the code
keeps looping. I have already tried to use unbind in the "addGoal"
code block, but this interferes the creation of the next dialog box.
Any ideas
Martin