PDA

View Full Version : Explorer error with ajaxtabs



pdthiep
05-18-2010, 02:36 AM
1) Script Title: DD Ajax Tabs

2) Script URL (on DD):

3) Describe problem:
Have now implemented the (really good) Ajax Tabs on a prospect website. All works well in Firefox and Opera, but get an error when loading some content using IE (Internet Explorer) 6 and 7.
The MS Script Debugger tell me it's on this line in ajaxtabs.js:
> document.getElementById(divId).innerHTML=page_request.responseText;
and that the error is an "unknown runtime error".

Please help me !!:confused:

jscheuer1
05-18-2010, 04:05 AM
I removed the link in your post to the script here on DD because that link was broken. Please supply a working link to the script in question.

IE is often more strict than other browsers (less error correction). Sounds like you may be trying to write to an element from within that element and/or it looks that way to the browser due to non-standard markup. It never hurts to validate your pages (both the page you are importing to and the page you are importing). And it is best, once you've validated the page you are importing, to remove all tags and code from that page except for the content you are actually importing. But it is hard to say for sure what the issue is without seeing it.

Pages may be validated at:

http://validator.w3.org/

If you want more help:

Please post a link to a page on your site that contains the problematic code so we can check it out.