I want to add a javascript google ad but I can\'t insert the javascript into the div using jquery. I try to simulate my problem with this test, which is using some advice I
You cannot use document.write after the page has finished loading. Instead, simply insert the contents that you want to be written in.
document.write