Jump to content

kevin_jose

Members
  • Posts

    4
  • Joined

  • Last visited

About kevin_jose

  • Birthday 03/03/1990

Previous Fields

  • Languages
    C++, VB scripting, HTML

Contact Methods

  • AIM
    to be a developer

Profile Information

  • Location
    Kerala, India
  • Interests
    coding, game development, playing piano, driving

kevin_jose's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. IE's security settings means, tools -> internet options -> in security taband what i have to do?
  2. okfew more questions, then why it is working fine in chrome and firefox but not for IE? (i tried the same in a laptop) Is there any way continue with IE? (reason is, IE is the only one available in office system).so that i can continue my XML learning
  3. Thanks for the reply, You mean i must have the admin access to machine?Could please elaborate by doing some changes in my code.
  4. I too facing the similar problem. i have a html file and a xml file and trying to invoke the xml data using the xmlHttpRequest, the code which i copied from the xml tutorial in w3schools with slight variations. XML file (data.xml)<data><to>Manu</to><from>Guno</from><subject>Test mail</subject><body>for a testing purpose</body></data> HTML file (inbox.html)<html><body><h1>Inbox</h1><br><script type="text/javascript"> xhttp=new XMLHttpRequest(); // for IE 7+, other browsers.. //xhttp=new ActiveXObject("Microsoft.XMLHTTP"); for IE 5, 6 xhttp.open("GET","data.xml",false); xhttp.send(); xmldoc=xhttp.responseXML; document.write(xmldoc.getElementsByTagName("to")[0].childNodes[0].nodeValue);</script></body></html> If iam using the 'new XMLHttpRequest()': in IE 8 - getting "access is denied" error for line : xhttp.open("GET","data.xml",false); in other(chrome, firefox) - working fineIf iam using the 'new ActiveXObject("Microsoft.XMLHTTP")': in IE 8 - getting "object required" error for line : document.write(xmldoc.getElementsByTagName("to")[0].childNodes[0].nodeValue); in other(chrome, firefox) - getting "object required" error for line : document.write(xmldoc.getElementsByTagName("to")[0].childNodes[0].nodeValue); so what is the problem with the IE, because as per the code given in w3schools, the first methord should work for all browser except IE 5,6. Its working for the all other but not for the IE 8.i just started learning xml with my work and IE is the only browser allowed in my system. Can anyone help me to move forward.
×
×
  • Create New...