开发者

Call webservice which has HTML type of data by using Jquery

I am new to jquery.

I have created web service which returns HTML data. Eg. It returns <div>TestData</div>.

I want to call t开发者_开发百科his web service by using jquery.

Thanks for your help.


Say you have HTML like this:

<div id='result'></div>

then you can load your web service's HTML content into it like this:

$('#result').load('/webservice/service.php');
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜