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 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" 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
>>
>>
>>
>>
>
>
>
>   Regard
>
> Mohd.Tareque
>

Reply via email to