I am trying to find the correct syntax to pass a varible to my JQuery Post.
var id = empid; $.ajax({ type: \"POST\", url: \"../Webservices/EmployeeS
This should work for you.
$.ajax({ type: "POST", url: "../Webservices/EmployeeService.asmx/GetEmployeeOrders", data: {empid: empid}, contentType: "application/json; charset=utf-8", dataType: "json", success: function(result) { alert(result.d); }