开发者

How to access web services with ajax on crm 4.0

I get values using http get method in mypage.aspx page.This page's path is under ISV/Web/mypage.aspx.How can I access and get response this asp p开发者_运维知识库age from onload()

Using ajax or what ?


You would want to do an AJAX request, somewhere along the lines of

var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", "http://YOURSERVER/mypage.aspx", false);
xmlhttp.send();

//do something with the result
alert(xmlhttp.responseXML.text);

See the XMLHttpRequest Object for more details

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜