string url = "http://localhost:48677/Service1.svc/GetDataSet1/FENCEGATE"; var webClient = new System.Net.WebClient(); string data = webClient.DownloadString(url);
var jqxhr = $.ajax( "example.php" ).done(function() {alert( "success" );}).fail(function() {alert( "error" );}).always(function() {alert( "complete" );});// Perform other work here ...// Set another completion function for the request abovejqxhr.always(function() {alert( "second complete" );});
$.ajax( { type:'Get', url:'http://localhost:48677/Service1.svc/GetDataSet1/FENCEGATE', success:function(data) { alert(data); } })
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)