开发者

Alert return data in jQuery - ajax

I have a php file, process.php which return a number pattern depending on the input string, from $_开发者_运维技巧POST["name"]. I want to alert the return number using jQuery.

How can I do this?


How about

$.post('/process.php', { input: 'your input' }, function(data) {
    alert(data);
}, 'text');
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜