|
[jQuery] Re: call ajax on ENTER key press: msg#02885jQuery
> $(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 = window.event; if(e.keyCode == 13) { //your code } Thanks for attention
|
|
||||||||||||||||||||||||||
| News | Mail Home | sitemap | FAQ | advertise |