Article View: chile.comp.programacion
Article #3097Re: javascript incompatibilidad firefox
From: Jos� Miguel Santib��ez
Date: Sat, 30 Apr 2005 03:54
Date: Sat, 30 Apr 2005 03:54
29 lines
1928 bytes
1928 bytes
En el cap�tulo anterior (news:d4u9v4$hco$1@news1.nivel5.cl), "Rick_oj"
<rick_oj@[sin-esto]tutopia.com> dijo:
> tengo la siguiente funcion en javascrit
> function CopiardeClip(theField)
> {
> var tempval=eval("document."+theField)
> tempval.focus()
> if (document.all&©toclip==1){
> therange=tempval.createTextRange()
> therange.execCommand("Paste")
> }
> }
>
> lo que hace es copiar un texto almacenado en el portapapeles a un
> campo de un formulario, en IE funciona bien pero en firefox no
> funciona, solo funciona si con el mouse doy "pegar", como generalmente
> programo en ie, y no se mucho de incompatibilidades cual es el comando
> que no funciona en firefox (para poder arreglarlo)
>
De acuerdo a un script de edici�n HTML que encontr� una vez, javascript en
mozilla (netscape, firefox, otros) no tiene capacidad de manejar el
portapapeles....
--
Jose M. Santiba�ez A.
<jms@nivel5.cl>
<http://caos.cl/jms>
Technical Details
Message-ID:
<Xns9647F317D4820jmsnews@200.27.221.71>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!news.vcd.cl!not-for-mailReferences:
<d4u9v4$hco$1@news1.nivel5.cl>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,19f0d6ff79abb71f
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII
Newsgroups: chile.comp.programacion
Subject: Re: javascript incompatibilidad firefox
From: "Jos� Miguel Santib��ez" <jms@nospam.nivel5.cl>
References: <d4u9v4$hco$1@news1.nivel5.cl>
Organization: Caos Consultores
Message-ID: <Xns9647F317D4820jmsnews@200.27.221.71>
User-Agent: Xnews/5.04.25
X-Face: +|NgjgFM{<rs%\Q|vUu16]a6,}?MJTA<!PEEI+x&Gw-Gyq+?$}fvo+.(,-r;)~Qzn)#{{nxU,OT?w^s<7m4ckCJ*L$c#I)yHL7b)GdU*#l
NNTP-Posting-Host: 143-58-112.adsl.terra.cl
Date: 29 Apr 2005 23:54:21 -0400
X-Trace: news.vcd.cl!not-for-mail 1114829661 143-58-112.adsl.terra.cl (29 Apr 2005 23:54:21 -0400)
Lines: 29
X-Authenticated-User: jms
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!news.vcd.cl!not-for-mail