Fork me on GitHub

jqueryajax

function FormButton() {
    $.ajax({
        type: "post",
        url: "Competition.ashx",
        data: "name=John&location=Boston",
        success: function (msg) {
            alert("Data Saved: " + msg);
        }
    });
}

posted @ 2014-04-21 13:48  乔闻  阅读(87)  评论(0编辑  收藏  举报