Loading ...
Sorry, an error occurred while loading the content.

Issu in FireFox

Expand Messages
  • sai.kumar_gv
    Hi, This code is working fine with IE where as with FireFox its not at all working. window.clipboardData.clearData(); myEditor.execCommand( copy ); var cr =
    Message 1 of 1 , Dec 3, 2008
    • 0 Attachment
      Hi,
      This code is working fine with IE where as with FireFox its not at all
      working.

      window.clipboardData.clearData();
      myEditor.execCommand('copy');
      var cr = window.clipboardData.getData("Text");
      if(null!=cr && ""!=cr.value){
      alert(cr);
      }

      myEditor refers to YUI RichText Editor.

      All I need is to copy Selected text from RTE into a variable .
      Appreciate if some one can pass cross browser logic .


      Regards
      SK
    Your message has been successfully submitted and would be delivered to recipients shortly.