HTML5 输入类型文件的多个属性在 IE 中不起作用?

HTML5 input type file#39;s multiple attribute not working in IE?(HTML5 输入类型文件的多个属性在 IE 中不起作用?)
本文介绍了HTML5 输入类型文件的多个属性在 IE 中不起作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我想使用 HTML5 和 PHP5 创建一个多文件上传器.我不想使用任何 Flash 播放器来支持.iPhone 不支持 Flash 上传器.我创建了这样的表单

I want to create a multi file uploder using HTML5 and PHP5. I don't want to use any flash player for support. Flash uploader will not support in iphone. I created the form like this

<form name="uploader" method="post" action="" enctype="multipart/form-data">

    <input type="file" name="images[]" id="images" multiple="multiple" />

    <input type="submit" name="button" value="Submit" /> 

</form>

它适用于 chrome、mozilla、opera、safari……但 IE 不支持.

It is working with chrome, mozilla, opera, safari... but IE not supporting this.

我试过 IE8 和 IE9 都不支持.我怎样才能解决这个问题?哪位知道解决办法的请帮帮我.

I tried with IE8 and IE9 both are not supporting. How can I fix this? Anybody who knows the solution please kindly help me.

推荐答案

IE8 不支持 HTML5.也许 IE9 正在以兼容模式运行?按 F12 调出开发者工具,在顶部菜单中您可以更改其所处模式的设置.

IE8 does not support HTML5. Perhaps IE9 is running in compatibility mode? Press F12 to bring up the developer tools and in the top menu you can change the settings in what mode it is in.

也许使用基于 Java 或 Flash 的系统进行多次上传是一种解决方案.此外,这些通常也支持拖放文件.

Maybe it is a solution to use a Java or Flash based system for multiple uploads. Also, these will also usually support drag and drop of files.

这篇关于HTML5 输入类型文件的多个属性在 IE 中不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)