Hi Guys,
I am trying to insert jQuery into the head of a page using prototype but not entirely sure how to achieve this.
Basically, I want the jQuery to appear AFTER the first tag in the head ?
var script_head = document.createElement('script');
script_head.type = "text/javascript";
script_head.src = "http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(script_head);
But doesn't appear to be working ?