Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AJAX and IE6

Status
Not open for further replies.

Kleptican

MIS
Feb 23, 2006
26
US
Hey all,

I'm very new to AJAX but we've decided to use AJAX with our coldfusion website and there are some display issues with IE6.

The website is broken up into 3 parts:

Header
------
Content
------
Footer

When a page request is made in the header, that in turns update the information in the content, using an AJAX request, the <div>s in the content and some formatting (all controlled with css) are wrong. They're stretched out and definately do not look the way they should. However, when I simply refresh the page, everything looks the way it should. In IE7 and FireFox, the page displays correctly when updated with the AJAX request.

Does anyone know of any serious problems with AJAX and IE6 that would cause formatting to be rendered incorrectly? I realize that I haven't given a wealth of information in this post as my question is probably in a more general sense.

Thanks for any input.

 
No problem exists with AJAX (as a technique) that would cause this problem (with any browser). The problem is with incorrect markup and css being applied to your page. You should confirm that the DOM is valid after the AJAX call (for instance you could alert the innerHTML of the body node, or use the IE Developer Toolbar).

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top