G
Guest
I have a text box with a seperate "submit" button which triggers an event
handler to process the text in the textbox. I also wanted to allow a user to
press enter to get out of the textbox and process the text. I wired up
another event handler for the textbox for the 'text changed' event. The
problem is when a user enters after writting text in text box the 'text
changed' event fires AND a random event for a whole seperate button at the
top of the page also fires. I tried to figure out the problem by disabling
that particular button but, some other random button started acting the same
way. If anyone has had this problem or knows the solution please let me
know.
Thank you,
Giancarlo
handler to process the text in the textbox. I also wanted to allow a user to
press enter to get out of the textbox and process the text. I wired up
another event handler for the textbox for the 'text changed' event. The
problem is when a user enters after writting text in text box the 'text
changed' event fires AND a random event for a whole seperate button at the
top of the page also fires. I tried to figure out the problem by disabling
that particular button but, some other random button started acting the same
way. If anyone has had this problem or knows the solution please let me
know.
Thank you,
Giancarlo