Internet Explorer Problems

Hello I am developing a site in Joomla, the site works fine in Mozilla, Safari and chrome, but when I render it in Internet Explorer it gives the following error.

Please enlighten me on this .....

User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
Timestamp: Fri, 23 Oct 2009 05:15:31 UTC


Message: HTML Parsing Error: Unable to modify the parent container element before the child element is closed (KB927917)
Line: 0
Char: 0
Code: 0
URI: http://localhost/flagdown/index.php?option=com_companies&view=profile&TAXI_ID=a936db2fe93260547e75782e250d672c&COMPANY_NAME=asd1234&CONTACT_NAME=aa&ADDRESS=aaa&SERVICE_EMAIL=ankit@aa.com&ADMIN_EMAIL=aahorror@aa.com&DISPATCH_PHNO=5555555555&ADMIN_PHNO=5555555555&NO_OF_TAXIS=57&ALLOW_AD=&TOTAL_REBATE=0.000000&USERNAME=ankit

      

+2


source to share


4 answers


It looks like you have Javascript trying to change the DOM before it's ready. Are you accidentally using the JS library? They really help with this; for example jQuery solution would be ...



$(document).ready(function() {
    // Any code you put in here won't run until everything is ready.
});

      

+2


source


Try validating your HTML with the W3C validator to ensure that you have properly closed all of your elements (and also that your HTML is valid).

Then make sure you don't tamper with the DOM until the page is fully loaded.



To learn more, we will need to see the HTML source and any JavaScript (especially any JS that manipulates the DOM).

0


source


The issue might be malformed XHTML, check this blog post for more information.

0


source


If you haven't solved it with validating your HTML and use:

window.onload = function() { /* code here instead so you are sure dom is complete */ }

      

or

$(document).ready(function() {
    // Any code you put in here won't run until everything is ready.
});

      

Then you can install Timeout.

eg:

$(document).ready(function() {
    setTimeout(function() {
        // Any code you put in here won't run until everything is ready.
    }, 500);
});

      

Sometimes IE just needs more time.

0


source







All Articles