calling a php function in javascript

后端 未结 2 1445
悲哀的现实
悲哀的现实 2021-01-07 13:10

I dont know how to use ajax in my problem: I have a function in php (assign) that update a temporary table in database, I want to when user user click on a button (feedback

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-07 14:05

    There are many great guides on the internet. I will however suggest you get too know JQuery. It will help you on your learning curve.

    function ajaxCall(){
    $.ajax({
        type: "GET",
        url: "scripts/on/serverside.php"
       });
    };
    

提交回复
热议问题