我做了一个表单,其中有<input type=file name=pic>的选项,如何在第二个页面取出它的内容,并赋给另一个选项呢?如赋给<input type=fiel name=pic2>
如我取得一个图片的是C:\picture\news.gif
如何将它赋给pic2?
提示:
一般的<input type=txt name=name1>
我们用request.form("name1")即可取出
谢谢解答,谢谢up!
<input type=file name=pic onpropertychange="pic2.value=this.value"><input type=fiel name=pic2>
不可以赋初值
该控件受保护,只能取值不能赋值