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 | 101 | October 24, 2009 | |
This.onKeyDown isn't triggered by enter
|
0 | 118 | October 17, 2003 | |
This.onKeyDown isn't triggered by enter
|
0 | 70 | October 17, 2003 | |
Enter key | 0 | 39 | April 6, 2009 | |
Key.addListener question | 0 | 42 | June 1, 2007 |