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
First you need to bind the click event and then you can trigger the click event.
$input.bind('click', function() { console.log("clicked the input"); }); $input.trigger('click');