I believe if the button is of the type "Submit" then on press of enter the same function will be invoked.
<input type="submit" ..... /> - for which you havee already defined "onclick" On Fri, Jul 31, 2009 at 9:26 AM, bharani kumar < bharanikumariyer...@gmail.com> wrote: > Hi all > > <input type="text" name="movie_name" id="movie_name" /> > > This is my autosuggest field , > > when the filed is filled with values then user trying to post application > using ENTER key , > > But i written code for onclick only , > > now tell me , > > How to submit value , > > When the ENTER Key pressed , > > Thanks > > > >