On 04/21/11 11:17, Greylander wrote:
..
   someForm.addEventListener("submit", myValidationFunction, true);
..>
This gets closer, as submitting the form will call my function.  But
it does not block submission of the form if it returns false.  This is

The first argument passed to "myValidationFunction" will be an event object. Call its .preventDefault() and it will .. prevent the default action of the event (in this case, submission of the form).

--
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/greasemonkey-users?hl=en.

Reply via email to