CodeChargenewbie
Posts: 114
|
| Posted: 11/07/2007, 12:52 PM |
|
I want to create a textbox such that the press of the enter key, along with some text, results in another textbox being created right below the first one. I saw an "on key press" event, which may be of use, but is there a way to emulat an on-enter event of sorts? In other words, is there an event handler for the enter key in PHP or a method of creating such code? I don't wnat to use javascript because this event will create a textbox, which will then require some sql behind it. It'd be better to have it all on the server-side.
|