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"); } } });
原文链接:https://www.f2er.com/json/290828.html