News for hackers. Stuff that matters.
Re:Show HN: progre(c)ss by woogley on Friday February 07, 2014 @11:29AM (#7197053)
You can also just set dataset[0] on the raw element:

    document.getElementById('myProgrecss').dataset.progrecss = '<PERCENT>';
[0]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement...
Re:Show HN: progre(c)ss by codez on Friday February 07, 2014 @11:31AM (#7197069)
Hey woogley,

Thanks for that :) I was actually unaware of that method and I prefer that style if I'm honest.

Thanks!