用jQuery发布

wno*_*eno 0 javascript jquery

我怎么在jquery中这样做?我想发布数据,处理,然后检索由该数据生成的页面.

我所能找到的只是分开发布.或者只是检索数据.

Gum*_*mbo 6

jQuery有这样做的jQuery.post方法:

jQuery.post(
    'http://example.com/…',
    {/* post data of key-value pairs */},
    function(data, textStatus) {
        /* callback function to process the response */
    }
);
Run Code Online (Sandbox Code Playgroud)