Re: [html-formfu] event.observe handling

2007-08-02 Thread Carl Franks
On 13/07/07, kewei xiao <[EMAIL PROTECTED]> wrote: > I am not sure How I can handle event.observe in yml file, something like > this: > > Event.observe( window, 'load', > function () { > Event.observe( 'country', 'click', function () { > countryChosen('country'); } ); >

[html-formfu] event.observe handling

2007-07-13 Thread kewei xiao
I am not sure How I can handle event.observe in yml file, something like this: Event.observe( window, 'load', function () { Event.observe( 'country', 'click', function () { countryChosen('country'); } ); Event.observe( 'country', 'keypress', function () { country