POST Request (Javascript)

前端 未结 3 891
野趣味
野趣味 2020-12-06 00:33

How do you make a simple POST request in Javascript without using a forms and without posting back?

3条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-06 01:00

    You can do this using AJAX calls (XMLHttpRequest object)

    http://www.openjs.com/articles/ajax_xmlhttp_using_post.php

提交回复
热议问题