[Seaside] adding parameters to updater

Lukas Renggli renggli at gmail.com
Tue Oct 24 22:07:23 UTC 2006


> Any idea why this doesn't work?  Maybe I do not understand updater.  I'm
> trying to make this as simple as possible so I can see what it is doing?  It
> seems like it is working but the javascript is not being evaluated once it
> is returned to the browser.  Is there a way to see what ajax is returning?
> Any ideas what I'm doing wrong?

FireBug is the tool to use for any questions related to JavaScript:
<https://addons.mozilla.org/firefox/1843/>

For you particular problem this is rather a CSS problem than one of
Scriptaculous. With the following code it works for me:

#ron { background-color: green; }
#ron.foo { background-color: red; }

Note that there is no space between #ron.foo as these signifies the
same element (this does not work in IE, to make it work there you
presumably have to remove the #ron). Then there is also the order that
matters in which the rules are specified (in your case it doesn't
matter as classes go after id's, but just in general ...)

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the Seaside mailing list