<script type="text/javascript">
function TestMethod1()
{
$.ajax(
{
type: "GET",
url: "http://localhost/DD/WebService1.asmx/HelloWorld",
data: "{}",
contentType: "application/json",
dataType: "json",
async: false,
cache: false,
success: function (result) {
alert(result.d);
},
error: function ()
{ alert("Unavailable"); }
});
}
</script >
Friday, January 8, 2010
How to call web service using jquery
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment