[Seaside] Jquery submit loads page

Norbert Hartl norbert at hartl.name
Wed Oct 19 16:23:59 UTC 2011


Am 19.10.2011 um 18:10 schrieb Lukas Renggli:

> 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.

great, thanks,

Norbert



More information about the seaside mailing list