[jQuery] Re: call ajax on ENTER key press

2009-07-31 Thread bharani kumar
hi , I dont have a form , simple textbox Thanks On Fri, Jul 31, 2009 at 9:31 AM, Sandeep Gonivada wrote: > I believe if the button is of the type "Submit" then on press of enter the > same function will be invoked. > > - for which you havee already defined > "onclick" > > On Fri, Jul 31, 2009

[jQuery] Re: call ajax on ENTER key press

2009-07-31 Thread Sandeep Gonivada
I believe if the button is of the type "Submit" then on press of enter the same function will be invoked. - for which you havee already defined "onclick" On Fri, Jul 31, 2009 at 9:26 AM, bharani kumar < bharanikumariyer...@gmail.com> wrote: > Hi all > > > > This is my autosuggest field , > > w

[jQuery] Re: call ajax on ENTER key press

2009-07-31 Thread Job in Tourism
> $(document).ready(function() { >  $('#movie_name').keyup(function(e) { >     if(e.keyCode == 13) { >           //your code >     } Is it good with explorer too? Isn't the following one a more compatible way? $(document).ready(function() { $('#movie_name').keyup(function(e) { if(!e) e = wind

[jQuery] Re: call ajax on ENTER key press

2009-07-30 Thread bharani kumar
thanks to all , On 7/31/09, rupak mandal wrote: > Hi bharani I think this code will work for you > > > $(document).ready(function() { > $('#movie_name').keyup(function(e) { > if(e.keyCode == 13) { > //your code > } > }) > }) > On Fri, Jul 31, 2009 at 9:44 AM, Mohd.Tareq wrot

[jQuery] Re: call ajax on ENTER key press

2009-07-30 Thread rupak mandal
Hi bharani I think this code will work for you $(document).ready(function() { $('#movie_name').keyup(function(e) { if(e.keyCode == 13) { //your code } }) }) On Fri, Jul 31, 2009 at 9:44 AM, Mohd.Tareq wrote: > Hi bharani kumar, * > * > *Its simple one you need to write onKey

[jQuery] Re: call ajax on ENTER key press

2009-07-30 Thread Mohd.Tareq
Hi bharani kumar, * * *Its simple one you need to write onKeyPress event & in the method definition read key value if * *key value is equals to 13 then post ur form.* cheers :) On Fri, Jul 31, 2009 at 9:26 AM, bharani kumar < bharanikumariyer...@gmail.com> wrote: > Hi all > > > > This is my aut