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');
精彩评论