вот этот поробуй:
function copy2Clipboard ( oCode Span ) { va r t e x tRang e = do c ume n t . body . c r e a t eTe x tRang e ( ) ; t e x tRang e . mov eToE l eme n tTe x t ( oCod e Span ) ; t e x tRang e . e x e cCom m and ( " Copy " ) ; }
вот этот поробуй:
function copy2Clipboard ( oCode Span ) { va r t e x tRang e = do c ume n t . body . c r e a t eTe x tRang e ( ) ; t e x tRang e . mov eToE l eme n tTe x t ( oCod e Span ) ; t e x tRang e . e x e cCom m and ( " Copy " ) ; }