Link to home
Start Free TrialLog in
Avatar of azcn2503
azcn2503Flag for United Kingdom of Great Britain and Northern Ireland

asked on

This really shouldn't happen!

I've been using HTML and JavaScript side by side for years now... But I don't understand why in the world the last letter of the final array entry for downloadA appears after my download list!!

The page is at: http://sg3k.netfirms.com/azakazam/index.htm

(Excuse the false information about the site being displayed the same in both browsers. I focus on IE before NS)

This error only occurs in IE.

Many thanks in advance. I hope it puzzles you too :)
Avatar of cLFlaVA
cLFlaVA


I commented out the following line, and the "e" no longer showed.  Let me know if there are any problems with the rest of the context due to my commenting out the line:

// document.write("<div style=\"width:60%;float:left;\">"+downloadA[i][4]+"<\/div>");
Avatar of seanpowell
I assume you're using includes? They're all out of wack, with the head tag appearing way down the page.

We need to get this thing well-formed...
Very odd - Moz doesn't show this "bug", but the code is IE only, so that won't matter...

I'll keep looking.
Avatar of azcn2503

ASKER

I thought the code was well formed...

Anyway, yes; commenting out any of those 3 document.write's will get rid of the error. Odd isn't it?
Ah.. I found something out when I uploaded my page again - my host modify my code to show an advert. Thing is, they like to put it at the first </head> they see. That's probably why it's all out.
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial