搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

problem in input tag of type file

  • 2 个回答
  • 4 人有此问题
  • 8 次查看
  • 最后回复者为 cor-el

more options

Hi,

I am using FireFox v.22, whenever i browse Default.aspx page in browser with <input type="file" /> it allows me to show a dialog box to select file from local drive. but when i add my own custom javascript it doesn't shows me a select file dialog box for input tag of file type. can anybody tel me what is an compatibility issue with file input tag with javascript functions?

Hi, I am using FireFox v.22, whenever i browse Default.aspx page in browser with <input type="file" /> it allows me to show a dialog box to select file from local drive. but when i add my own custom javascript it doesn't shows me a select file dialog box for input tag of file type. can anybody tel me what is an compatibility issue with file input tag with javascript functions?

所有回复 (2)

more options

This forum focuses more on end-user support and the built-in features. For scripting issues, I suggest trying the unofficial mozillaZine Web Development board. It's a separate site with separate registration. For best results, please note the tips in the Sticky Post at the top of the forum before posting.

more options

Note that the input field has changed appearance in the current release.

  • Bug 838675 – Make <input type='file'> rendering nicer (keep up with other browsers)
  • Bug 838694 - Move the text showing the file names to the right of the browse button for <input type='file'>