$(document).ready(function() { /* Append the following lines into the HEAD tag */
$('head').append("
Trying to insert into HEAD
"); /* End of the lines to append */ });