Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [AJAX]przekierowanie AJAX
Randallmaster
post
Post #1





Grupa: Zarejestrowani
Postów: 677
Pomógł: 11
Dołączył: 18.11.2009

Ostrzeżenie: (0%)
-----


Witam,

Po poprawnym dodaniu nie chce mnie przekierować na poprawną stronę:

  1. done(function(data) {
  2. window.location = '/registration/status/' + data;
  3. });


co mogę źle robić?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
Randallmaster
post
Post #2





Grupa: Zarejestrowani
Postów: 677
Pomógł: 11
Dołączył: 18.11.2009

Ostrzeżenie: (0%)
-----


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?

Ten post edytował Randallmaster 9.11.2013, 12:20:12
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 15.10.2025 - 16:38