Call php function in javascript without waiting for response

后端 未结 3 793
野趣味
野趣味 2021-01-29 09:03

I know how to use $.ajax. I have a Codeigniter project so I just call:

url:\'\', 

3条回答
  •  一整个雨季
    2021-01-29 09:24

    If you want the request to be synchronous, set async:false. For post, type:POST

    Refer http://api.jquery.com/jQuery.ajax/

提交回复
热议问题