JavaScript is case sensitive. Check the correct api name for id. Use exactly in your html code. event.currentTarget.dataset.id or event.target ... ... <看更多>
js data-id 在 Getting the value (or 'data-id' value) of a checked radio button. 的推薦與評價
Getting the value (or 'data-id' value) of a checked radio button. - data.js. ... <看更多>
js data-id 在 How can I get the data-id attribute? - Stack Overflow 的推薦與評價
... <看更多>
相關內容