search

Home  >  Q&A  >  body text

Ajax submit script submission error

<!-- Ajax submission script--><script>

$(function(){ // Add a click event to the login button

$('# login').on('click',function(event){ //

#console.log($("form").serialize())

$.ajax({

type:"POST",                                                                                                                                                                                                                                                                                . ).serialize(), //Serialize the form as a whole and submit it

dataType:'json', //Set the type of submitted data to json

success:function(data){

if(data.status == 1){                                                         use using 1 to be returned                 ’ ’ s ’ ’ s ’   across ’ ‐ ‐ ‐ ‐ ‐‐ ‐ 1 to 1 to 1 to 1 P 1.                                               P    url('index/index')} "; #}  

});  

});  

});

</script>

Error message: POST http://dzymgl.com/index/User/checkLogin.html 404 (Not Found)

What is going on

Mr.OMr.O1310 days ago954

reply all(1)I'll reply

  • 清

    2021-04-29 22:47:19

    The method or page does not exist.

    reply
    0
  • Cancelreply