ajax (done) is not done :)

ajax (done) is not done :)

Hi,

below link is working fine when it's normal form post but when I try ajax-done-fail it doesn't work.


expected result should be like this:

when click on Jassim Rahma (Employee Name) it will open my pending leave so you can accept or decline.

when accept or decline it should show (Please wait) waiting message and then redirect you to google.

once accepted or declined the leave should be removed from the  http://www.mybluefile.com/m/x_pending_review_leaves.php which PHP is taking care of it.

but in my case, I am not getting the Please wait message (just a loading image is shown) and it's not going to google.com after ;post but it's redirecting to:


and the leave is now being removed from the list of leaves which means the post was not successful and nothing is shown in the console.

this issue happens with both accept and decline..

can any one help please?


Thanks,