Why won't my javascript code work? Refer to the: load_posts() section of it. The problem is that the nested code in the XML file will not work in Internet Explorer, but it does work in Firefox. IE: <post> Blablabla <b>Something here</b> </post> Everything after: "Blablabla " will not run in IE. Basically the start of the nested tag: "<b>" Can't find a way to get it working in IE, but it does work in Firefox. Refer to the: load_posts() function, thats the main key point in the blogging system. PS: I get no errors. JS Code: http://pastebin.com/m2ec254b6 XML Code: http://pastebin.com/m9c19417
hrm. <?xml version="1.0" encoding="ISO-8859-1"?> <blog><post title="Test 1">fgfg <b>ssss</b>s ss w</post><post title="Second Test">test fgfgf</post></blog> have you tried escaping xml entnities within? try replacing <b> with <b> etc - else the parser treats the string as data and then finds a new node midway.
Or if you want it to remain bold, replace it with something like ['b]text['/b] and then change it back before displaying it.
this is an ongoing problem i'm affraid I found this same problem with java in careerone and let them know and they said its the new update in IE plus firefox is also having some issues. Sorry I've got no help on this one