zoukankan      html  css  js  c++  java
  • 前台页面——调后台方法

    jq:

    $.ajax({
               type: "POST",
               url: "${ctx}/taskManage/deleteTask",
               contentType: "application/json; charset=utf-8",
               data: taskId,
               dataType: "json",
               success: function (mesg) {},
               error: function (mesg) { }
          });

    js:

    location.href="${ctx}/taskManage/taskRerun.do?id="+taskId;

  • 相关阅读:
    POJ
    HDU
    POJ
    HDU
    HDU
    HDU
    POJ
    ZOJ
    ZOJ
    Kattis
  • 原文地址:https://www.cnblogs.com/BruceDu/p/6773944.html
Copyright © 2011-2022 走看看