开发者

JQuery call to .php file and passing three arguments

I want to call a .php file and pass three arguments so that the .php files GETS from the query string. I am new to JQuery. Can someone illustrate how to call the .php fil开发者_如何学运维e using JQuery?


Check the jQuery documentation. They provide a few examples that should get you started. The example you're most interested in looks something like this:

$.get("myphpfile.php", 
      { param1: "John", param2: "2pm", param3: "Wed" },
      function(data){
           alert("Data Loaded: " + data);
      }
);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜