[Seaside] Jquery submit loads page

Lukas Renggli renggli at gmail.com
Wed Oct 19 16:10:54 UTC 2011


On 19 October 2011 18:08, Norbert Hartl <norbert at hartl.name> wrote:
> Maybe I'm just too tired to get it straight. I have
>
> html form with: [
>        html submitButton
>                onClick: (html jQuery ajax serializeForm );
>                with: 'foo' ]
>
> and if I click the button I get the ajax request and afterwards the page is loaded.
>
> What could I've forgotten?

html form with: [
        html submitButton
               onClick: (html jQuery ajax serializeForm**; return: false**);
                with: 'foo' ]

Otherwise the #submitButton is triggered.

Lukas

>
> thanks,
>
> Norbert_______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>



-- 
Lukas Renggli
www.lukas-renggli.ch


More information about the seaside mailing list