我用jquery-1.8.3和jquery-mobile-1.2使用了jquery-file-upload插件。它运行良好。带jquery移动样式的JQuery-File-Upload按钮
但今天,我更新到jquery-1.9和jquery-mobile-1.3,并且按钮样式已经改变。
我已将它们添加到jsfiddle。 我希望它看起来像this
<span class="fileinput-button" data-role="button" data-icon="plus">
<span>添加文件</span>
<input type="file" name="files[]" multiple />
</span>
但它看起来像that
<span class="fileinput-button" data-role="button" data-icon="plus">
<span>添加文件</span>
<input type="file" name="files[]" multiple />
</span>
感谢。
请指教如何让这个工作jQuery 1.4? – kurrodu 2013-12-24 06:47:06
我的意思是jquery mobile 1.4 – kurrodu 2013-12-24 07:04:33
@kurrodu请看我的更新。现在这是一个猜测,因为升级指南还没有可用,但你应该得到一个接近的结果。 – 2013-12-24 08:34:16