a標(biāo)簽的點(diǎn)擊事件
直接 aNode.onclick="removeLine(this)"; ?并沒有添加點(diǎn)擊事件 必須使用 aNode.setAttribute("onclick","removeLine(this)"); 才能添加點(diǎn)擊事件 這是為什么?
直接 aNode.onclick="removeLine(this)"; ?并沒有添加點(diǎn)擊事件 必須使用 aNode.setAttribute("onclick","removeLine(this)"); 才能添加點(diǎn)擊事件 這是為什么?
2016-12-09
舉報(bào)
2016-12-09