WebmasterLULZ
01-17-2009, 01:43 AM
I want to have an event handler where if the "enter" key is pressed while in a specified text field . run a function for example.
say if i have
<input type="text" id="textfield">
They type in the field whatever they want. and as soon as the "Enter" button is pressed (i belive enter is 13 or 10) , alert the value of the text field
say if i have
<input type="text" id="textfield">
They type in the field whatever they want. and as soon as the "Enter" button is pressed (i belive enter is 13 or 10) , alert the value of the text field