[Seaside] client side validation with jQuery

Lukas Renggli renggli at gmail.com
Tue Mar 31 05:54:31 UTC 2009

> which gives me something like
>         ... onchange="$.getJSON ..."
> in the rendered html and I need to have a javascript if statement
> wrapped around the quoted text but I'm not sure how to get it there.
> Any thoughts?

Send the message #condition: to your query. This wraps the query into
a conditional statement with the argument as the condition. See the
sender JSObject>>#confirm: for an example.


Lukas Renggli

More information about the seaside mailing list