MVC ajax post to controller action method

后端 未结 4 1699
慢半拍i
慢半拍i 2020-12-15 23:28

I\'ve been looking at the question here: MVC ajax json post to controller action method but unfortunately it doesn\'t seem to be helping me. Mine is pretty much the exact sa

4条回答
  •  悲&欢浪女
    2020-12-16 00:18

    $('#loginBtn').click(function(e) {
        e.preventDefault(); /// it should not have this code or else it wont continue
        //....
    });
    

提交回复
热议问题