Hello,
I am wondering how do you get the $_POST data with jquery?
I am using these functions, it does get the get the page data but won't output any post data with PHP
.load
I have ask before but since I have been away from the computer due to some issues with some systems previously I need some help in revising so I can get back up to where I was, Looked on google I can't find much.
I have just started with JQuery A few months ago But like I said due to some issues I need help in revising.
Thanks,
Spudster
I am wondering how do you get the $_POST data with jquery?
I am using these functions, it does get the get the page data but won't output any post data with PHP
.load
Code:
$(document).ready(function() {
$('#submit').click(function() {
$('#content').load('ajax/check.php');
});
});
$ajax
[code]
$(document).ready(function() {
$('#submit').click(function() {
$.ajax({
url: 'ajax/chat.php',
type: 'post',
data: {method: 'fetch' },
success: function(data) {
$('.chat .messages').html(data);
}
});
});
});
I have ask before but since I have been away from the computer due to some issues with some systems previously I need some help in revising so I can get back up to where I was, Looked on google I can't find much.
I have just started with JQuery A few months ago But like I said due to some issues I need help in revising.
Thanks,
Spudster







