I have the following small function that pastes to a SPAN fine in IE
.... but not so in FF:
/*Paste onLoad()*/
function paste(){
document.getEle mentById('conte nt').focus();
document.execCo mmand('Paste');
}
<!-- snip -->
<span contenteditable id="content"></span>
Any ideas on how to support 'contenteditabl e' in FF?
.... but not so in FF:
/*Paste onLoad()*/
function paste(){
document.getEle mentById('conte nt').focus();
document.execCo mmand('Paste');
}
<!-- snip -->
<span contenteditable id="content"></span>
Any ideas on how to support 'contenteditabl e' in FF?
Comment