Hide all the id in JavaScript
<p>I need to hide all the tags which has the ID 'media'</p>

<p>E.g.:</p>

<pre><code>`&lt;div id='media'&gt;contents&lt;/div&gt;`

`&lt;div id='media'&gt;content&lt;/div&gt;`
</code></pre>

<p>How to do this using JavaScript?</p>
