Using the jQuery each() Function

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Really nice and enjoyed your live refactoring. After the refactor you could also have removed the cached output var completely - no need for caching since you're only now accessing it once.

BigBlueRabbit
Автор

I agree on using the html variable inside the loop (to build the sub-DOM in HTML text), but the caching of the OutputDiv is not needed anymore. Just $('#OutputDiv').html(html)

StephanvanHoof
Автор

at 3:00 why didn't you just use append ?

NazS
Автор

you know what u speak but ..i was expecting some better example ..something easier and more practical . moreover the way this lesson was approached didn't look right .
Its not about having the knowledge its about having the ability to pass it in a manner thats easy and fun .

MohitManuja
welcome to shbcf.ru