Answers for "javascript change dataset value"

0

javascript change dataset value

let newvalue = 'foo'
element.setAttribute('data-something', newvalue )
Posted by: Guest on August-22-2021

Code answers related to "javascript change dataset value"

Code answers related to "Javascript"

Browse Popular Code Answers by Language