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 Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/230686-onchange-event/#findComment-1187712 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.