Jquery tutorial - 2 ways ajax return outside of ajax object

preview_player
Показать описание
======== Jquery tutorial - 2 ways ajax return outside of ajax object ========

1. using callback with function
2. using $.when().done();
Рекомендации по теме
Комментарии
Автор

thanks a lot sir aap ne mera error solve kar diya

MrEnayetali
Автор

exactly what I was looking for. Thank you!

Codenames
Автор

HELPS ME ALOT THANK YOU AND MORE POWER ... :)

tspitelford
Автор

100% Perfectly Worked !!

Thank You Very Much Bro !! :D

KistlakRajapakshaSevenNet
Автор

With the first method I can't assign the return to a variable and use it outside right after the Ajax function because it is asynchronous and when calling the variable the Ajax function couldn't finished yet.
With the second method can I do that?

Allylyth
Автор

thanks a lot man. u just save my day.

nameshd
Автор

Hey! cool tutorial, im trying to get the length of the array, but it always says undifined, even when the log shows that there's 15 items, do you know why that is?

gastoncohen