社区
JavaScript
帖子详情
怎么给它个初始值,没有其他理由,后面加value="xxxxx"和defalutvalue已经用过,无任何效果
sohuzhanghao
2004-10-09 04:24:35
<input type=file name=ss>怎么给它个初始值,没有其他理由,后面加value="xxxxx"已经用过,无任何效果
...全文
153
7
打赏
收藏
<input type=file name=ss>怎么给它个初始值,没有其他理由,后面加value="xxxxx"和defalutvalue已经用过,无任何效果
怎么给它个初始值,没有其他理由,后面加value="xxxxx"已经用过,无任何效果
复制链接
扫一扫
分享
举报
写回复
配置赞助广告
7 条
回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
打赏红包
bflovesnow
2004-10-09
打赏
举报
回复
不能,就算是想尽办法弄上了,也是无法正常上传的,至少在IE中如此。
cloudside
2004-10-09
打赏
举报
回复
变通一下不行吗,不过好像只实用于ie5。5以上,
<INPUT type="file" id="browsefile" name="browsefile" style="display:none" onChange="path.value = browsefile.value">
<INPUT type="text" name="path" value="c:\" readonly>
<INPUT type="button" id="filebutton" value="选择文件" onclick="document.getElementById('browsefile').click()">
sohuzhanghao
2004-10-09
打赏
举报
回复
到底怎么才能设默认值呢,在javascript中
micker
2004-10-09
打赏
举报
回复
这个东东好像没有默认值的啊!!
sohuzhanghao
2004-10-09
打赏
举报
回复
d
sohuzhanghao
2004-10-09
打赏
举报
回复
那我怎么设定上传的默认路径呢
孟子E章
2004-10-09
打赏
举报
回复
type=file不能代码赋值的,是因为安全性
相关推荐
NFCForum-TS-T4T-1.1
NFCForum-TS-T4T-1.1
动态几何问题积件.dm
动态几何问题积件.dm
Visio波形工具箱.zip
Visio波形工具箱,可以在Visio画波形的模板,画时序图有用
MMIC设计经典书籍,MMIC设计人员必读!
Monolithic microwave integrated circuits (MMICs) are used in a host of electronics from cellular phones and global positioning systems to mi
ss
ile systems and radar. They are prized for their high performance and reliability, but they can be costly and highly difficult to produce. Proper design is the key to minimizing these problems. This practical resource is filled with real-world design techniques and rules of thumb that engineers can use on the job everyday to decrease costs and improve prod
pip-21.1.3-py3-none-any.whl
该资源为pip-21.1.3-py3-none-any.whl,欢迎下载使用哦!
发帖
JavaScript
JavaScript
Web 开发 JavaScript
复制链接
扫一扫
8.7w+
社区成员
22.4w+
社区内容
Web 开发 JavaScript
社区管理员
加入社区
获取链接或二维码
帖子事件
创建了帖子
2004-10-09 04:24
社区公告
暂无公告