当前位置: 动力学知识库 > 问答 > 编程问答 >

validation - jquery is not working in IE and giving error

问题描述:

I have jquery validation code which is working fine in ff but the same code is not working in Internet Explorer. There is no error when I run same script in FF but there is an error when i run same scritp in Internet explorer the error is as follows

Error: Expected identifier, string or number

code: 0

I cant able to understand this problem please any one have guidence on this. I cant paste code here cause the code is very big?

so please any one came accross such error before or any one know any possibility due to that such error came.

please help me friends!

网友答案:

Like the others say, without your code it's pretty hard to answer.

However... There is one thing that I can think of that throws IE into a fit while behaving correctly in Firefox, Safari, etc.

If you put an extra comma at the end of a list or object definition, it will trigger that error in IE.

Check and make sure you don't have an extra ',' before an ending curly brace.

分享给朋友:
您可能感兴趣的文章:
随机阅读: