Add .js reference at run time to the existing page.
var jQueryScriptOutputted = false;
function initJQuery() {
if (typeof(jQuery) == 'undefined') { if (! jQueryScriptOutputted) {
jQueryScriptOutputted = true;
var path = "//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"
var script = document.createElement( 'script' );
script.src = path;
document.getElementsByTagName( 'head' )[0].appendChild( script );
}
setTimeout("initJQuery()", 50); } else {
$(function() {
// add your code here...............
}); }}
initJQuery();