JS 中class的定义

JS 中class的定义

alert(document.getElementsByClassName(star))这句话中的star应该加上引号,因为在上下文环境中没有定义名字叫star的变量。需要准备的材料分别有:电脑、html编辑器、浏览器。1、首先,打开ht
JavaScript90