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 () { countryChosen('country'); } );
           countryChosen( 'country' );

Can I use "attributes_xml: { onchange: countryChosen(this.id) }" to handle the event.observe?

Kewei

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to