I’m doing some Facebook App training and I’m trying to post a comment using a AJAX call which I’ve done a few times however for some reason when I do the call nothing is POSTED?
Anyone help?
$(document).ready(function() {
$('#comment').click(function() {
$data = $('#txtcomment').val();
$.ajax({
type:'POST',
url: '/action_comment.php',
data: $data
})
});
});