Sorry, it is all ok. It's just that others events (onmouseover, onmouseout, onblur and onfocus) are overriding the "onchange" behaviour. Commenting them out has solved the problem.
Vincenzo Caselli Cens wrote: > > Using Appfuse 2.0.1 with JSF, is it possible to handle the onChange event? > Indeed I would like to implement a trivial behaviour, that is, changing > the background color of every input text every time the user enter the > field and change it (onChange event). > I tryed to do that by modifing global.js adding in addFocusHandlers a line > like this: > > elements[i].onchange=function() {this.style.backgroundColor='#FF0000'}; > //Just a first trial > > but nothing happens! Do you know why? > Does it depends from any "Prototype.emptyFunction" in any .js file? > > TIA > Vincenzo Caselli > > -- View this message in context: http://www.nabble.com/onChange-event---tp16834202s2369p16834715.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]