how do I insert html into a window? This doesn’t seem to work:
var testwindow = window.open ("", “mywindow”,
“height=800,width=400,location=no,scrollbars=yes”);
var el = testwindow.document.createElement(‘div’);
el.innerHTML = content;
how do I insert html into a window? This doesn’t seem to work:
var testwindow = window.open ("", “mywindow”,
“height=800,width=400,location=no,scrollbars=yes”);
var el = testwindow.document.createElement(‘div’);
el.innerHTML = content;
On Mon, Apr 19, 2010 at 7:32 AM, ES [email protected] wrote:
how do I insert html into a window? This doesn’t seem to work:
You have four problems here:
var testwindow = window.open (“”, “mywindow”,
“height=800,width=400,location=no,scrollbars=yes”);
var el = testwindow.document.createElement(‘div’);
el.innerHTML = content;
Hassan S. ------------------------ [email protected]
twitter: @hassan
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs