I need to trigger a custom event in the callback of a trigger call, but I can\'t get it to work.
trigger
I tried this:
var $input = $( \".ui-pop
When you call trigger, the bound event handler is immediately executed, so you don't need any callback. Just use
$input.trigger('click'); runtests();