![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 176 Pomógł: 0 Dołączył: 8.11.2008 Ostrzeżenie: (0%) ![]() ![]() |
Mam taką funkcję:
$(function() { $("#new_auction1_cat1").change( function() { $.getJSON("test", {id: $(this).val()}, function() { alert('options'); var options = ''; options = 'sadjslkjdlk'; alert('options'); $("#footer").html(options); }) }) }) #new_auction1_cat1 jest selectem #footer jest divem Żądanie jest wysyłane z parametrem, który jest wartością value pola, ale nie jest wywoływana funkcja. Istnieje akcja 'test' w kontrolerze i widok. Nie wiem czemu ta funkcja nie chce się wywołać. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 15.09.2025 - 04:17 |