Ragavendar S

Ragavendar S

  • NA
  • 192
  • 9.6k

SP 2007 returning values differ in browser environment

Apr 19 2017 2:24 AM
Environment : SP  2007
 
Code:
 
$.get("url/_vti_bin/owssvr.dll?Cmd=Display&XMLDATA=TRUE&List=Listid",
function(xml)
{
   var zrow = xml.getElementsByTagName("z:row");
   alert("before for loop"+zrow.length);
}
 
 
Issue : Value of  zrow.length is returning fine in IE whereas in chrome it returns zero only.
 
Can any one assist me in resolving this issue i can't able to find any blogs related to this issue. 

Answers (2)