connect(formElement,'onsubmit',function(e){
console.log(e); //see what's in the Signal event if you don't know
return false; //prevent form submission
});
function (e) {
// .. do your activities
// prevent the event from propogating
e.stop();
}
Chris
To my knowledge, returning false works in all browsers. I believe that
e.stop() will do the same thing. It's been a while since I've had to
do this so I figured I'd put in what I know to work.
On Jul 27, 2:23 pm, "Karl Guertin" <grayr...@gmail.com> wrote:
return false; doesn't do anything here, this should look like:
connect(formElement,'onsubmit',function(e){
console.log(e); // see what's in the Signal event if you don't know
e.stop(); // prevent form submission
});
Beau