jQuery submit form without page reload

前端 未结 4 1663
野的像风
野的像风 2021-01-25 15:37

Ok, so I\'m trying to make a new log in form form my site using jquery and classic ASP. As of right now I have a containing div in my document thats set to hidden, then when the

4条回答
  •  星月不相逢
    2021-01-25 16:17

    Try use jQuerys post method:

    $.post("dbProcessing.asp", $("#loginForm").serialize(), function(data)
    {
        // TODO: function logic
    });
    

    Here you can find the manual for jQuery.post()

提交回复
热议问题