Click to See Complete Forum and Search --> : Javascript limitations on IE4


BooGieeee
08-26-2004, 04:27 AM
Hi all,

i would like to know the limitations IE4 has with java script because i have a computer which has IE4 and there are some javascripted sites which produces errors.

can someone please enlighten me?

regards,
boo

Kor
08-26-2004, 05:13 AM
There are a lot of limtations but probably the most important is the refrence of objects(elements).

in modern DOM compliant browsers (IE5+, NS6+, Mozilla, etc.) the document elements are referenced by id with document.getElementById('foo'), by name with document.getElementByName('foo') and by tag's name with document.getElementsByTagName('a_tag') methods.

IE 4 uses for reference (id or name)
document.all['foo']

But these are not the only limitations... we must see the codes to say more.

BooGieeee
08-29-2004, 11:48 PM
when my ie4 loads the java script an error occers on this particular line : oXml = new ActiveXObject("Microsoft.XMLDOM");

how can i resolve this?

thanks your help is greatly apperciated

Fang
08-30-2004, 01:49 AM
IE4 does not have standard support for XML.
You probably need the XML parser (http://msdn.microsoft.com/XML/XMLDownloads/default.aspx)
Better still upgrade to IE6.

BooGieeee
08-30-2004, 03:09 AM
o thanks for the info. but i jus wanna confirm with you that ie4 doesnt not support xml?

Fang
08-30-2004, 06:22 AM
IE4 will support XML if the XML parser has been downloaded.
After IE4 the parser is included as standard.