[Dojo-interest] Overriding form submission even when using the Enter key

Josh Trutwin josh at trutwins.homeip.net
Thu Apr 23 11:02:42 EDT 2009


On Thu, 23 Apr 2009 15:36:29 +0100
"Shane O'Sullivan" <shaneosullivan1 at gmail.com> wrote:

> or use
> function(e){
>   dojo.stopEvent(e);
> }

Curious, is this the same as e.preventDefault()?  stopEvent(e) seems
more "final".  I assume this would only come into play if you have
other methods connected to the event?

Josh


More information about the Dojo-interest mailing list