js按钮增加一行表格

js按钮增加一行表格

首先定义一个闭包,如下:var appendText = function(){变量作用域为函数内部,外部无法访问var html = "" return { getHtml: function(
JavaScript250