I have one function that runs when a certain button is pressed. However, I want this function to also run when enter is pressed. I know that I can make a function to do this alone, but is there any way that I can make the function that I already have made (that is set to run when the button is pressed) to run also when enter is pressed?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Call a function when enter function?
|
0 | 103 | October 24, 2009 | |
Key.addListener question | 0 | 46 | June 1, 2007 | |
Enter key | 0 | 42 | April 6, 2009 | |
Explicitly call functions | 0 | 69 | September 14, 2009 | |
Enter button on textbox | 0 | 62 | November 13, 2005 |