if you use (JavaScript) form.submit() then this will reload the whole page.
I.e. there is no way to do anything with JavaScript after submitting the
form.

On Thu, Apr 14, 2011 at 6:25 PM, Alec Swan <[email protected]> wrote:

> Hello,
>
> I have a button on a page which submits a Wicket form by calling
> form.submit() using straight JavaScript. If the form submitted without
> errors, then the JavaScript code should set a cookie. I am looking for
> some ideas on how to detect if the form was submitted successfully or
> not in JavaScript?
>
> Thanks,
>
> Alec
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to