ballouta Posted March 15, 2011 Share Posted March 15, 2011 Hello I am doing a homework for my college, i am asked to attach an existing event handler names fastSpeedChange to the onchange event of the <select> node. the <select> node is referenced in this statement: this.fastSpeedNode = $ (params.fastSpeedId); the event handler is: this.fastSpeedChange = function () { alert ("working"); } if I write this: this.fastSpeedNode.onchange = fastSpeedChange; i get this error: fastSpeedChange is not defined plz help thank you Link to comment https://forums.phpfreaks.com/topic/230686-onchange-event/ Share on other sites More sharing options...
Adam Posted March 15, 2011 Share Posted March 15, 2011 Can you show the context those statements are in? Link to comment https://forums.phpfreaks.com/topic/230686-onchange-event/#findComment-1187712 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.