Yes I'm trying to re-use an event that would have fired in other circumstances eg. You have an event (onchange) that executes when the selected item in a select box changes. Now instead of using the onchange event alone - which I'm doing - I want to raise the same event from a different place so that when I make changes to the functionality behind the event I don't have to change in two places ie. I want to call that same event from different places. My function expects an event like
It sounds like you want to assign the same function to different events, but I'm not sure that's what you mean. If that is what you want then it's pretty easy but I'll wait for the clarification.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.