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.mohd@gmail.com> wrote:
Hi bharani kumar,Its simple one you need to write onKeyPress event & in the method definition read key value ifkey value is equals to 13 then post ur form.
cheers :)RegardOn Fri, Jul 31, 2009 at 9:26 AM, bharani kumar <bharanikumariyerphp@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
Mohd.Tareque
No comments:
Post a Comment