在除 IE 之外的所有其他浏览器中,都会显示“选择文件”按钮。另外,当我在我的机器上调试时,按钮会显示在 IE 中。但是,在服务器上运行时,它不会显示在 IE 中。有错误吗?这是我的代码:
<div id="manual-fine-uploader" ></div>
<div id="triggerUpload">
<input type="button" value="Upload" style="width:100px; cursor:pointer" />
</div>
<script type="text/javascript">
$(document).ready(function () {
var manualuploader = new qq.FineUploader({
element: $('#manual-fine-uploader')[0],
request: {
endpoint: 'Letter/UploadFiles'
},
autoUpload: false,
text: {
uploadButton: '<input type="button" value="Select Files" class="qq-upload-button" />'
}
});
$('#triggerUpload').click(function () {
manualuploader.uploadStoredFiles();
});
});
</script>