[Seaside] scriptaculous - updater

Ramon Leon ramon.leon at allresnet.com
Thu Oct 12 20:20:56 UTC 2006


> I finally understand what is the purpose of evalScripts... :)
> 
> I also aften see #return: in scriptaculous code (updater and 
> evaluator).
> Can you explain me the purpose of it... in an example if possible...
> 
> Thanks for all
> 
> Cédrick

If you say return: fase; the tag with generate like so...

<a href="blabla" onclick="blalba; return false;">link</a>

Canceling the click, preventing the button, link, or whatever from posting
and leaving the page, this can be useful if you want to click an href to
live update a div, for example.

Ramon Leon
http://onsmalltalk.com  



More information about the Seaside mailing list