「JavaScript入門」$.each() の使い方

サンプルコード
cityName = [“Tokyo", “Osaka", “Fukuoka","Kawasaki"];
$.each(cityName, function(key, value) {
$('ul’).append(“<li>" + key + “:" + value + “</li>");
});

JavaScript

Posted by arkgame