[Seaside] client side validation with jQuery
Lukas Renggli
renggli at gmail.com
Wed Apr 1 06:41:19 UTC 2009
On Wed, Apr 1, 2009 at 3:04 AM, Steven Noble <steven.noble at gmail.com> wrote:
> I'm struggling to figure out where to do this. I think I'm mostly
> having trouble because JQAjax doesn't descend from JSObject and
> doesn't have a #confirm of its own.
>
> Instead of done something like
>
> jsobj := (JSStream on: 'function(){return true;}()') then: (html
> jQuery ajax ...
>
> Is this there any harm in doing it this way?
Of course you can also do it like this, but the #confirm: thing is
certainly easier to use.
That was a bug that JQAjax didn't descend from JSObject. It does so
since a couple of days though, just load the latest version.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list