[html-formfu] event.observe handling
kewei xiao
kewei.xiao at nald.ca
Fri Jul 13 19:16:18 GMT 2007
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
More information about the HTML-FormFu
mailing list