search

Home  >  Q&A  >  body text

UserModel::create($data) is not executed

Why is ajax not executed here?

$.ajax({                    

type:'post',                  

url:"{:url('index/user/insert')}",                       

data:$('#login').serialize(),                

dataTy

 Jensen Jensen 2422 days ago1296

reply all(1)I'll reply

  • 无忌哥哥

    无忌哥哥2018-06-20 11:13:47

    Take a look at the console error. It should be that ajax is written incorrectly.

    reply
    0
  • Cancelreply