日期:2014-05-17  浏览次数:20382 次

ajax调用后台方法
     <script>
        //15秒倒计时
         var start = 15; 
        var step = -1;
        function count() 
        {
            document.getElementById("DaoJiShi").innerHTML = start;
            start += step;
            if (start < 0)
                start = 15;
            setTimeout("count()", 1000);
        }
        window.onload = count;
    </script>

当start=0时,如何调用后台select()方法?
求指教。。。

------解决方案--------------------
 $.post("../MyWorkFlow/WorkFlowApprove.ashx", { "billcode": billcode, "mind": " ", "action": "disagree" }, OnApproveSuccess);