this is my code beetwen script tag :
function open()
{
file = "Test1.js";
document.write("<script type='text/javascript' src='"+file+"'></scr"+"ipt>");
document.getElementById("id").innerHTML = doc;
}
content of Test1.js is "var doc = hello wolrd' ".But why it doesn't showed..
any one can help me??