I have this JavaScript in the head of my page.
<script type="text/javascript">
var nojscss = document.getElementById('nojscss');
nojscss.parentNode.removeChild(nojscss);
</script>
I would like rewrite it in jQuery to run when the page is loading.
I'm pretty new to jQuery do you have an idea how to do it?
<script type="text/javascript">
$('#nojscss').remove();
</script>
Try this:
<script type="text/javascript">
$("#nojscss").remove();
</script>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With