Click here to Skip to main content
15,881,381 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Everyone,

Is it possible to call a Web Method using Query String!!

Actually I am creating a jQgrid and I want to call my Web Method which is created in Web Service.

If any body knows how to do this than please tell me a way for this
Posted

See this example

JavaScript
$.ajax({
	cache: false,
	type: "GET",
	async:false,
	url: location.protocol + "//" + location.host + "/Report/Report",  // here your api address	
	success: function (data) {	
		// use your result (data)
	}
});


for more Read this[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900