"definition": "A more than commonly plain and... }, { "term": "CANNIBAL", "part": "n.", "definition": "A gastronome of the old school who..." }, { "term": "CHILDHOOD", "part": "n.", "definition": "The period of human life intermediate..." } //省略的内容 ]; var html =""; $.each(entries, function() { html += "<div class="entry">"; html += "<h3 class="term">" + this.term + "</h3>"; html += "<div class="part">" + this.part + "</div>"; html += "<div class="definition">" + this.definition + "</div>"; html += "</div>"; }); $("#dictionary").html(html); 最后,单击c链接,应该会看到我们预期的结果。 希望本文所述对大家的jQuery程序设计有所帮助。