JQ 轻松学会$.get(),$.post(),$ajax()的作用和用法

1.$.post():代表Post到指定界面,和窗体的提交Form一样的效果
//Post到指定界面,和窗体的提交Form一样的效果
function postFrom() {
    $.post("Login.aspx", {
        cSysCode: "0", cPassword: "1", uID: "chengw", cNameOrcCode: "0", OPType: "1"
    }, function (result) {
        alert(result);
        console.log(result);
    });
}

 

posted @ 2020-06-03 00:09  溜溜球_小钢wan  阅读(190)  评论(0编辑  收藏  举报