S
stephen.cunliffe
Situation:
I have a few event handlers (not onclick) on a text box. The handlers
take in an event parameter to work some magic.
All the above works fine, but I have a desire/need, to "invoke" the
same handlers, but from another element (e.g. a separate button)
I know that someObject.click(); will actually work, but in my case, I
do not want to invoke the onclick handler.
Any Ideas?
PS I'd be happy to "fake" any of the following...
ondblclick
onkeydown
onkeyup
onkeypress
Cheers,
Steve
I have a few event handlers (not onclick) on a text box. The handlers
take in an event parameter to work some magic.
All the above works fine, but I have a desire/need, to "invoke" the
same handlers, but from another element (e.g. a separate button)
I know that someObject.click(); will actually work, but in my case, I
do not want to invoke the onclick handler.
Any Ideas?
PS I'd be happy to "fake" any of the following...
ondblclick
onkeydown
onkeyup
onkeypress
Cheers,
Steve