var b=document.getElementsByTagName("input")alert(b.value)alert(b[0].getAttribute("value"))
如何獲取標簽的value值,以下兩種方法哪里出現(xiàn)錯誤
Efficiency90
2017-03-27 20:10:53