Convert Jquery code into pure javascript code : <p>I have a following Jquery code and I need to convert it into pure javascript code. Can any one please help me to convert it to javascript code</p>

<pre><code>$( "#buttonOne" ).on('click', function() {
        $('#divOne').hide();
});
</code></pre>

<p>Thanks in advance</p>
