[Catalyst] Http::Prototype

John Wang johncwang at gmail.com
Fri Nov 18 05:55:31 CET 2005


On 11/17/05, Will Smith <willbelair at yahoo.com> wrote:
>
> - How the javascript (prototype.observe_field) get trigger? I need to have
> something in the OnChange in the div id=SelectA.
>

OnChange isn't needed. prototype.observe_field will generate JavaScript to
create a Form.Element.EventObserver that is used instead.

- Will I get the right result if I do the search and return the result as a
> stash of object?
>

Sure. Here's an example:

http://www.dev411.com/wiki/AJAX_Select_Chaining_with_Catalyst

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20051117/a32fc674/attachment.htm


More information about the Catalyst mailing list