[Seaside] Submitting forms using Ajax
Johan Brichau
johan at inceptive.be
Wed May 18 15:18:04 UTC 2011
On 18 May 2011, at 14:42, Stevie Bornschein wrote:
> Does anyone have an idea how to save the form manually, without pressing the 'submit' button and without reloading the whole page?
If I understand your problem correctly, you can use the #onChange: handler on each field of the form to trigger a serialization of the form.
I have never used Scriptaculous in Seaside, so I will give an example using jQuery:
html textInput
callback:[:val | text := val];
onChange: (html jQuery ajax serializeThis).
Johan
More information about the seaside
mailing list