var a = [];$("nav a").each(function(){a.push($(this).attr("href"))});return a;

相关文章: