Are jQuery events blocked?
For example, calling the next method immediately?
$("body").trigger("myEventName", myValue);
My tests seem to suggest that they are. If this is correct, does this mean that I can return values from my custom events?
var myResult = $("body").trigger("myEventName", myValue);
Obviously this does not work, since it returns a jQuery object. So can values be returned?
source
share