I can use the following JQuery function to return PHP results after a form submission:
Code:
$(".some_class").bind("submit", function () {
$.ajax({
type: "POST",
cache: false,
url: "some_file.php",
data: $(this).serialize(),
success: function (data) {
$('#php_results').html(data)
}
});
return false;
});
Is there a way to get PHP results without submitting a form? Thanks ...