This is a discussion on "MSXML Parser" within the ASP.NET Forum section. This forum, and the thread "MSXML Parser are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
MSXML Parser
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Hi All
I am facing a problem using the XMLHTTPRequest object in javascript. Iam using it to populate an array with fields from the database and then display them in a dropdwn list. I get a javascript error saying Error:Unknown name Code: 0 I have IE6 on my machine. And the javascipt code goes like this //XMLHTTP if(window.XMLHttpRequest){ try { xmlhttp = new XMLHttpRequest(); } catch(e) { xmlhttp = false; } // branch for IE/Windows ActiveX version } else if(window.ActiveXObject) { try { xmlhttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { xmlhttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { xmlhttp = false; } } } var val = SelectFld.value; var httpAddr = "http://aditi/centralspares/admin/getmodels.asp?manufid="+val ; xmlhttp.open("GET", httpAddr, false); xmlhttp.send(""); ********************************************* |
|
|
|
|||
|
Re: MSXML Parser
|
![]() |
| Tags |
| msxml, parser |
| Thread Tools | |
|
|