在UI滑塊中的I console.log(event)
。它給了我一個對象。在ui滑塊中的event.target jQuery
它有很多屬性。其中一個屬性是target
。
當我在console
上看到它時,它有一個+
符號。意味着它包含多個屬性。
我們可以看到它有+
符號。這是什麼意思,是target
持有一個對象還是數組?
因爲我console.log(event.target)
它給我htmlElement
。當我console.log(event.target.children)
它給我object
它包含它的孩子。
你的問題是什麼? –
我只是想知道。 target是一個對象或數組 – Carlos