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');
精彩评论