i would say, the most obvious way is to set the return value to some
javascript variable and let the jquery handler pick it from there.

-GTG


On 6/29/07, //orten <[EMAIL PROTECTED]> wrote:


I have to onsubmit handlers.
One is (in legacy code) added directly to the form element as an
attribute:

<form ... onsubmit="...">

The other handler is added through jQuery:

jQuery("form").bind("submit", function(event) { ... });

The "attribute-based" handler performs form validation and is executed
first, but I need to use the boolean result of the form validation
within my jQuery handler.

How do I access the return value of the "attribute-based" event
handler?

TIA


Reply via email to