摘要:
$(function(){ $("ul li:lt(5)").clone().appendTo("ul"); var $width = $("ul li:lt(5)").width() * 4; var currIndex = 0; $("#next").click(function(){ if(c 阅读全文
摘要:
function Person(name,sex,age){ this.name = name; this.sex = sex; this.age = age;}Person.prototype.eat = function(){ console.log("每个人都会吃饭");}function P 阅读全文