2.使用ajax方法,如:
$.ajax({ url: "/Workflow/ValidateIsProcess/",data: { "StateCode": "SL","flowId": flowId },dataType: "json",cache: false,//禁用浏览器缓存 success: function(data) { if (data) { alert("业务受理"); } else { $("#span_BusinessId").text("aaa"); } } });
2.使用ajax方法,如:
$.ajax({ url: "/Workflow/ValidateIsProcess/",data: { "StateCode": "SL","flowId": flowId },dataType: "json",cache: false,//禁用浏览器缓存 success: function(data) { if (data) { alert("业务受理"); } else { $("#span_BusinessId").text("aaa"); } } });