jqueryajax

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

你可能感兴趣的:(jquery)