js获取标签类函数。

js获取标签类函数。

js获取标签类函数:方法一:.innerTextvar x1 = document.getElementById("testid").innerTextalert("x1="+x1)方法二:.i
JavaScript110