[jQuery] Re: call ajax on ENTER key press

2009-07-31 Thread bharani kumar
thanks to all , On 7/31/09, rupak mandal rupakn...@gmail.com 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,

[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 =

[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 gbsand...@gmail.comwrote: 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

[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 input type=text

[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 tareq.m...@gmail.com wrote: Hi bharani kumar, * * *Its simple one you