Possible Duplicate:
Bind textbox to 'enter' key
I have a search text box. I would like to get it submitted while pressing the enter key (when that text box is focused only). I am not using any submit button. Can this be accomplished using javascript?