| View previous topic :: View next topic |
| Author |
Message |
optomeb
Joined: 19 May 2006 Posts: 113
|
| I want to have a text-input node respond to me pressing 'enter' without making it a form... |
| |
|
|
|
|
ovigo22
Joined: 15 May 2006 Posts: 130
|
| OnKeyUp or something |
| |
|
|
Poolkop
Joined: 01 Jun 2006 Posts: 123
|
| Why not make it a form? |
| |
|
|
Klimapol
Joined: 27 May 2006 Posts: 134
|
| Define "respond" |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| Onkeyup |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
| I dont need it, and dont want it to reload the page. Klimapol: respond as in simulate a button-click |
| |
|
|
montanarry
Joined: 13 May 2006 Posts: 175
|
| = someFunction that will check if it was enter... and then if so do something |
| |
|
|
Klimapol
Joined: 27 May 2006 Posts: 134
|
| What happens when the button is clicked though? |
| |
|
|
optomeb
Joined: 19 May 2006 Posts: 113
|
montanarry, k, 'll try that
Klimapol, it works ;-P |
| |
|
|
Klimapol
Joined: 27 May 2006 Posts: 134
|
| What works how? |
| |
|
|
|