I've got a bunch of div.textBox that I want to apply data attribute to it.
Here's what I want to end up with :
<div class="text" data-stellar-ratio="2">
I've tried :
document.getElementByClassName('text').dataset.stellar.ratio = "2";
But it's not working...
Help!