2
Answers

SP 2007 returning values differ in browser environment

Ragavendar S

Ragavendar S

7y
330
1
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)