开发者

Javascript: object expected on line 1 char 2

开发者 https://www.devze.com 2022-12-22 06:03 出处:网络
http://pastie.org/856698 Anyone have any idea why the scrip开发者_运维问答t is causing this error?Check your jQuery file to see if you don\'t have extra characters in there. That is the first referen

http://pastie.org/856698

Anyone have any idea why the scrip开发者_运维问答t is causing this error?


Check your jQuery file to see if you don't have extra characters in there. That is the first referenced script and your error doesn't give a file.

UPDATE: I'm not getting any errors on your site in IE8 until I press submit. Then it tells me regSubmit() is not an object, and indeed it isn't, your function is called submitReg(). Perhaps the reason you are getting errors "in IE" is simply because without a debugger loaded, non-IE browsers tend to just skip errors, whereas IE stops processing and puts up a notification.

Try installing Firebug or using Chrome, CTRL+SHIFT+J and watch and see if you get errors there now (you will if you watch the console, but processing will continue anyway).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号