nothing here looks like it would cause a syntax error. Maybe the problem is in your formLogin() function?

--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On Nov 19, 2009, at 2:00 AM, viperasi wrote:

Whether jquery-1.3.2.js or jquery-1.3.2.min.js,i always got the error.Other browsers without error.
Below is the code:

$(function(){
        $('#username').keydown(function(event){
                if(event.keyCode==13){
                        formLogin();
                }
        });
        $('#password').keydown(function(event){
                if(event.keyCode==13){
                        formLogin();
                }
        });
        $('#valicode').keydown(function(event){
                if(event.keyCode==13){
                        formLogin();
                }
        });
});

Can anyway help me please? I think it's something really simple and I'm just being stupid.

Many thanks for reading and sorry for my poor English.
................................................................
https://twitter.com/viperasi
my fridge!:http://bit.ly/ohBHG
有事您说话

Reply via email to