hi :) is it possible to edit the content of a freshly open window? if I open it this way, for example:
var p = window.open('popup.html'); then if I do var d = p.document; and use d.write('foo'); the document gets cleaned up and there's just 'foo' in the source. that coul be ok, but if there's a div in the popup.html, with id 'bar', can I put some text in it? $('#bar', d).html('foo'); doesn't work :( thank you very much!