views:

38

answers:

2

Hello friends!

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!

A: 

Very difficult to help you without seeing the code... I've come across quite a few little IE quirks ilke this, but it's almost impossible to pinpoint the problem unless you share your code! Try pastie.org

Jeriko
This should be a comment, and please don't encourage people posting code *outside* stackoverflow. For large examples, it's necessary, but 90%+ of the time, it's just an extra click and another site to deal with for any answerer...meaning the question is less likely to get good answers.
Nick Craver
Yea I know it should be a comment.. I don't think I have enough rep to post comments on other people's posts yet though :D Just trying to help eh
Jeriko
Thanks to all of you friends! I spotted the cause of error you all are right its a syntax error. By mistake I had added an extra comma in my JQUERY validation code due to that it was giving an error. Thank you all friends for your guidance.
Param-Ganak
+1  A: 

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.

Vernon
Thanks to all of you friends! I spotted the cause of error you all are right its a syntax error. By mistake I had added an extra comma in my JQUERY validation code due to that it was giving an error. Thank you all friends for your guidance.
Param-Ganak
That's great... Any chance you could select my answer again? I finally was able to vote up and down and now I'm back to 1. ha...
Vernon