Reading xml file using javascript

后端 未结 1 1621
[愿得一人]
[愿得一人] 2021-01-22 18:37

I am using the below code to read one xml file which is located locally. But its not displaying the object of xmldoc. My code is

function loadXMLDoc(XMLname)
{
          


        
1条回答
  •  一个人的身影
    2021-01-22 18:50

    Better use Jquery function. Its working fine for me.

    
    
    
                                     
                  
提交回复
热议问题