开发者

How to make a simple Ajax and PHP that will send a post from input?

How to make a simple Ajax and PHP that w开发者_如何转开发ill send a post from input?


  1. Include jQuery in the page
  2. jQuery.post('/foo.php', jQuery('form').serialize(), doSomethingWithResponse);
  3. <?php doSomethingWith($_POST('name_of_input')); ?>
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜