问一下<input type="file"> 控件,能不能让输入框和按钮分两行显示,还有能不能让按钮在左边,输入框在右边 理论上不能但有其他办法隐藏file控件,然后用text,button替代用js控制,把text的值在button onclick时赋值给file 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 楼上的,button怎么能打开文件夹来选取需要的文件呢? <div style="display:none"><input type="file" id="fileul" id="fileul" onchange="javascript:document.getElementById('filetext').value = document.getElementById('fileul').value" /></div><br /><input type="text" name="filetext" id="filetext" /><br /><input type="button" value="浏览..." onclick="javascript:document.getElementById('fileul').click();" />fcoolx 老兄提示的意思火狐下没办法……我以前找过类似问题,通过js onclick点击父/子框架的某个元素 这个办法,我试过,确实ie下可以,但是firefox下不行。 用PHP输出js,在firefox下 没用?? 请问在mysql中是 date("Y-m-d H:i:s") 格式, 如何挑出有多少种年份? 有关网站上传的问题 【在线求解】传值比引用更省内存? 重新安装php后程序出现大问题 phpeclipse debug配置问题 请问有多少人用过PHP的工具(比如Zend Studio) 用dw做的一个按钮连接的问题。。。。 LINUX+PHP+ASP方法论 php 重定向出了问题,求大神帮助,我发誓已经找了6个小时了,还是没有找出哪里有问题 关于皮肤设计 google广告有没有办法做统计?
<input type="file" id="fileul" id="fileul" onchange="javascript:document.getElementById('filetext').value = document.getElementById('fileul').value" /></div><br />
<input type="text" name="filetext" id="filetext" /><br />
<input type="button" value="浏览..." onclick="javascript:document.getElementById('fileul').click();" />fcoolx 老兄提示的意思
火狐下没办法……我以前找过类似问题,通过js onclick点击父/子框架的某个元素