I have a textbox which has the code;
Now there is no e
use event.preventDefault() or return False should do the trick for you.
event.preventDefault()