Changed to this and still not refreshing.
function rejectuser(id) {
$.ajax ( { type : "GET", url: 'reject.php', data: {id:id}, async: false, success : function(data) { $('#sitesTable3').DataTable().ajax.reload(); }, error: function (jqXhr, textStatus, errorMessage) { alert("error!"); } } ) }
What did I do wrong?
and thanks again for all the help!
Disregard... IT'S WORKING!!! Thank you!!!!!
Thanks Allan. This works for me
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Changed to this and still not refreshing.
function rejectuser(id) {
$.ajax
(
{
type : "GET",
url: 'reject.php',
data: {id:id},
async: false,
success : function(data)
{
$('#sitesTable3').DataTable().ajax.reload();
},
error: function (jqXhr, textStatus, errorMessage)
{
alert("error!");
}
}
)
}
What did I do wrong?
and thanks again for all the help!
Disregard... IT'S WORKING!!! Thank you!!!!!
Thanks Allan. This works for me