Hi,
I have a text box in my page which the user will type something to submit. However, I do not want to have a submit button but instead I want to listen for the Enter key press in order to submit.
The thing is, there will be couple of textboxes in this one page and I only want to submit the textbox that has just been typed into.
I know how to find out which key was pressed using jquery but I think in my scenario, I need to see if the cursor was inside a specific textbox. is this right? if so, how is this achieved using jquery? In general is my approach ok? or should I definitely have a submit button?
kem...