开发者

How to access web services with ajax on crm 4.0

开发者 https://www.devze.com 2023-03-20 18:18 出处:网络
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()

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

精彩评论

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