Article View: chile.comp.programacion
Article #3100Re: javascript incompatibilidad firefox
From: Rickoj
Date: Sun, 01 May 2005 20:00
Date: Sun, 01 May 2005 20:00
29 lines
2047 bytes
2047 bytes
En las news:Xns9647F317D4820jmsnews@200.27.221.71, a Jos� Miguel Santib��ez
se le ocurrio
tipear:
> 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....
donde podria ver las in/compatibilidades de los otros browser con javascript
Technical Details
Message-ID:
<d53chd$bmr$1@news1.nivel5.cl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news1.nivel5.cl!not-for-mailReferences:
<d4u9v4$hco$1@news1.nivel5.cl> <Xns9647F317D4820jmsnews@200.27.221.71>Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,19f0d6ff79abb71f X-Google-Attributes: gid1593cb,public X-Google-Language: SPANISH,ASCII Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news.kjsl.com!news1.nivel5.cl!not-for-mail From: "Rick_oj" <rick_oj@[sin-esto]tutopia.com> Newsgroups: chile.comp.programacion Subject: Re: javascript incompatibilidad firefox Date: Sun, 1 May 2005 16:00:57 -0400 Organization: Varios Lines: 31 Message-ID: <d53chd$bmr$1@news1.nivel5.cl> References: <d4u9v4$hco$1@news1.nivel5.cl> <Xns9647F317D4820jmsnews@200.27.221.71> NNTP-Posting-Host: pc-97-201-120-200.cm.vtr.net X-Trace: news1.nivel5.cl 1114977645 11995 200.120.201.97 (1 May 2005 20:00:45 GMT) X-Complaints-To: news@news1.nivel5.cl NNTP-Posting-Date: Sun, 1 May 2005 20:00:45 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1478 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478