Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Future of JQuery UI and JQuery Mobile. Parent comment
Try doing this with CSS, please.
<div class="element"></div> .element { display: block; } .element.is-hidden { display: none; } document.getElementsByClassName("element")[0].classList.add( "is-hidden" );
There are no comments on this comment yet.
Try doing this with CSS, please.
You should never ask yourself "How can I accomplish that without jQuery", but rather "What would be the best way to do it!"