JS error in ie7 when use ajax source
JS error in ie7 when use ajax source
vlocker27
Posts: 5Questions: 0Answers: 0
i got:
Line: 1663
Char: 4
Error: 'length' is null or not an object
Code: 0
i got the same error in both version 1.4.3 and 2 beta 6
please advice
Line: 1663
Char: 4
Error: 'length' is null or not an object
Code: 0
i got the same error in both version 1.4.3 and 2 beta 6
please advice
This discussion has been closed.
Replies
Line 1663 in 1.4.3 is an opening bracket, while in 1.5 beta 6 it is a closing bracket. Do you have an example page which does the error?
Thanks
Allan
thank you for reply so promptly and thank you for this wonderful scripts
Good point! I find it very irritating that Firefox allows this. It's not a well formed object if it has a comma followed by an empty element. I would have thought that the Javascript compiler should really throw an error at this point.
I find that jsonLint is exceptionally useful for helping to debug Ajax/Json errors: http://www.jsonlint.com/
Allan