将文件字段值复制到动态文件字段值 [英] Copy File Field Value to Dynamic File Field Value

查看:76
本文介绍了将文件字段值复制到动态文件字段值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我将文件

字段对象的值复制到新DOM创建的输入文件字段时,Firefox向我显示了一个安全错误。我可以做一些事吗

关于它吗?

谢谢。

解决方案

VUNETdotUS写道:


当我将文件值

字段对象复制到新DOM创建的输入文件字段时,Firefox向我显示安全性错误。我可以做一些关于它的事吗




不,这是一个安全问题,你无法操纵文件字段。


-

#问候|| piotr [。] solnica [at] gmail [。] com || jid: s0****@jabster.pl

#s0lnic || http://blog.solnic.in5.pl || icq:385935391#


11月7日上午9:55,s0lnic< l ... @ my.sigwrote:


VUNETdotUS写道:


当我复制文件值

字段对象时,Firefox向我显示安全错误新DOM创建了输入文件字段。我可以做一些关于它的事吗




不,这是一个安全问题,你无法操纵文件字段。


-

#问候|| piotr [。] solnica [at] gmail [。] com || jid:s0l ... @ jabster.pl#

#s0lnic || http://blog.solnic.in5.pl || icq:385935391#



我可以将输入作为DOM对象复制到另一个表单(从而保持其

值)吗?


VUNETdotUS在2007年11月7日上午9:33发表以下内容:


Firefox向我展示了一个当我将文件值
字段对象复制到新DOM创建的输入文件字段时出现安全性错误。我可以做一些关于它的事吗




是的。停止尝试复制文件输入的值。


-

兰迪

机会有利于预备心灵
comp.lang.javascript常见问题 - http://jibbering.com/ faq / index.html

Javascript最佳实践 - http://www.JavascriptToolbox.com/bestpractices/


Firefox showed me a security error when I was copying a value of file
field object into new DOM created input file field. Can I do something
about it?
Thanks.

解决方案

VUNETdotUS wrote:

Firefox showed me a security error when I was copying a value of file
field object into new DOM created input file field. Can I do something
about it?

Nope, it''s a security issue, you''re not able to manipulate file fields.

--
# Regards || piotr[.]solnica[at]gmail[.]com || jid : s0****@jabster.pl #
# s0lnic || http://blog.solnic.in5.pl || icq : 385935391 #


On Nov 7, 9:55 am, s0lnic <l...@my.sigwrote:

VUNETdotUS wrote:

Firefox showed me a security error when I was copying a value of file
field object into new DOM created input file field. Can I do something
about it?


Nope, it''s a security issue, you''re not able to manipulate file fields.

--
# Regards || piotr[.]solnica[at]gmail[.]com || jid : s0l...@jabster.pl #
# s0lnic ||http://blog.solnic.in5.pl || icq : 385935391 #

can I copy input as a DOM object to another form (thus keeping its
value)?


VUNETdotUS said the following on 11/7/2007 9:33 AM:

Firefox showed me a security error when I was copying a value of file
field object into new DOM created input file field. Can I do something
about it?

Yes. Stop trying to copy the value of a file input.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/


这篇关于将文件字段值复制到动态文件字段值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆