Jump to menu

Vote up?

  1. Nice article.

    Last example can perform even better if you use array joining instead of string concatenation.

    var arr = [reallyLongArrayOfImageURLs], tmp = [];
    $.each(arr, function(count, item) { tmp.push(’<li><img src=”‘item’”></li>’);
    });
    $(’#imgList’).append(tmp.join(”“));