search

Home  >  Q&A  >  body text

No response when clicking login

<script>
//Add a click event to the login button
$(function(){
$("#login").on('click',function(event){
$.ajax({
type:"POST", //Submission type
url:"{:url('checkLogin')}", //Handler's url
data:$( "form").serialize(),//Serialize the data of the current form and then submit it
 

椿.椿.1975 days ago1254

reply all(3)I'll reply

  • 椿.

    椿.2019-10-16 11:15:41

    This is my mistake, please give me some adviceMAP%3GD~Y`XBY9`J43)V3.png

    reply
    0
  • 卢小强

    Learn to read the error content yourself. Don't ask directly, what is alter, it should be alert.

    卢小强 · 2019-10-17 08:44:25
    椿.

    OK, thank you

    椿. · 2019-10-17 11:13:26
  • Cancelreply