2017-03-15 32 views

回答

2

您正在尋找.nodeName而不是.nodeType。 img標籤的nodeName爲'IMG'

+1

謝謝@Jason。你救了我的一天:) – shekhardtu

相關問題