I have a html code that has a data attribute named data-keys which is an array. I want to add values to this array by javascript. What function can I use in order to do this?
<input type="text" data-keys="[]">
Blancer.com Tutorials and projects
Freelance Projects, Design and Programming Tutorials
I have a html code that has a data attribute named data-keys which is an array. I want to add values to this array by javascript. What function can I use in order to do this?
<input type="text" data-keys="[]">