Randallmaster
9.11.2013, 11:18:41
Witam,
Po poprawnym dodaniu nie chce mnie przekierować na poprawną stronę:
done(function(data) {
window.location = '/registration/status/' + data;
});
co mogę źle robić?
crafter
9.11.2013, 11:45:02
a wogole wchodzi ci do tej metody done ? sprawdz console.logiem czy po wyslaniu requesta nic sie nie wywala i czy aby napewno tam wchodzi.
Pozatym spróbuj moze window.location.href
Randallmaster
9.11.2013, 12:05:51
nie wchodzi... wywala:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
ale do bazy danych sie dodaje ;/
jak sprawdzić console.log? w ajax?