Calling PHP scripts from Javascript without leaving current page

前端 未结 7 1290
别跟我提以往
别跟我提以往 2021-01-18 14:57

I\'m having some trouble calling PHP scripts from Javascript without leaving the current HTML page (if it is at all possible). I understand it is possible using AJAX, althou

7条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-18 16:01

    you can use jquery ajax:

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

提交回复
热议问题