J
jessbody
The following javascript code (used as a bookmarklet) is supposed to
pop a window containig a "textarea".
javascript
function()
{
var nd =
window.open('','','directories=yes,left=0,width=600,height=300').document;
var box = nd.createElement('textarea');
box.setAttribute('rows','15');
box.setAttribute('cols','50');
nd.body.appendChild(box);
}
)()
It works fine in FireFox. On IE, the window is popped, but without the
textarea. What could be the reason?
Appreciate any help.
--Jess
pop a window containig a "textarea".
javascript
function()
{
var nd =
window.open('','','directories=yes,left=0,width=600,height=300').document;
var box = nd.createElement('textarea');
box.setAttribute('rows','15');
box.setAttribute('cols','50');
nd.body.appendChild(box);
}
)()
It works fine in FireFox. On IE, the window is popped, but without the
textarea. What could be the reason?
Appreciate any help.
--Jess