var msg = SOAPEnvelope.header +
"<WebUrlFromPageUrl xmlns='http://schemas.microsoft.com/sharepoint/soap/' ><pageUrl>" +
((location.href.indexOf("?") > 0) ? location.href.substr(0, location.href.indexOf("?")) : location.href) +
"</pageUrl></WebUrlFromPageUrl>" +
SOAPEnvelope.footer;
// location.search && location.hash.
Comments: I think this is essentially a duplicate of https://spservices.codeplex.com/workitem/10104, which is fixed in 2013.01, so I'm closing the issue. Please let me know if you are still having problems. M.
"<WebUrlFromPageUrl xmlns='http://schemas.microsoft.com/sharepoint/soap/' ><pageUrl>" +
((location.href.indexOf("?") > 0) ? location.href.substr(0, location.href.indexOf("?")) : location.href) +
"</pageUrl></WebUrlFromPageUrl>" +
SOAPEnvelope.footer;
// location.search && location.hash.
Comments: I think this is essentially a duplicate of https://spservices.codeplex.com/workitem/10104, which is fixed in 2013.01, so I'm closing the issue. Please let me know if you are still having problems. M.