HTML DOM getAttribute() 方法元素对象实例获取链接的target 属性值:document.getElementsByTagName("a")[0].getAttribute("target");输出结果:_blank尝试一下»定义.
確定! 回上一頁