var clipboarddiv=document.getElementById('divclipboardswf'); if(clipboarddiv==null) { clipboarddiv=document.createElement('div'); clipboarddiv.setAttribute("name", "divclipboardswf"); clipboarddiv.setAttribute("id", "divclipboardswf"); document.body.appendChild(clipboarddiv); } clipboarddiv.innerHTML='<embed src="../javascript/clipboard.swf" FlashVars="clipboard='+ encodeURIComponent(strResult)+'" width="0" height="0" type="application/x-shockwave-flash"></embed>'; alert('The text is copied to your clipboard...');
window.clipboardData.setdata("Text",strResult)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)