Use the source, Luke. ;)
In the function that creates event handlers (like for the click
binding), there is this part:
if (handlerReturnValue !== true) {
// Normally we want to prevent default action.
// Developer can override this be explicitly returning true.
if (event.preventDefault)
event.preventDefault();
else
event.returnValue = false;
}
Just return true
from your myFunction
.