![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 25 Pomógł: 0 Dołączył: 25.05.2003 Skąd: Warszawa Ostrzeżenie: (0%) ![]() ![]() |
Hlo,
Chce uzyc ajax.updater: function manageCart(task, pid, itemtype, itemid) { var url = 'cart.php'; var params = 'task=' + task + '&pid=' + pid + '&itemtype=' + itemtype + '&itemid=' + itemid; var ajax = new Ajax.Updater( {success: 'ajaxresults'}, url, {method: 'get', parameters: params, onFailure: reportError}); } ale niezaleznie od ustawien url (sciezka - jedyne co wg mnie moze byc zle), zawsze przekierowuje do funkcji zdefiniowanej w onFaillure. carta.php zwraca zwykly html (<table>....</table). Pytanie - czy mozna to jakos debugowac? Czy ma ktos pomysl co moze byc zle? Thnx |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 16:22 |