我想要HTML5中的文件上传,Infrajectics .. [英] I want fileupload in HTML5,Infrajectics..

查看:69
本文介绍了我想要HTML5中的文件上传,Infrajectics ..的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要ImagefileUpload.when我点击浏览器按钮,时间imagesource和图像也显示这是我的recuirement。我使用Html5,infrajestics,m使用下面的代码,但它无法正常工作,如果你有文件上传链接请告诉我。





I want ImagefileUpload.when i click brower button that time imagesource and image also display that is my recuirement. i used Html5,infrajestics,m using below code but its not working,if u have any link in file upload please let me know.


<script type="text/javascript">
        $("#input-ru").fileinput({
            language: "ru",
            uploadUrl: "http://localhost/site/file-upload-batch",
            allowedFileExtensions: ["jpg", "png", "gif"]
        });
</script>



< input id =input-rutype =filemultiple class =file-loading/>


<input id="input-ru" type="file" multiple class="file-loading" />

推荐答案

(#input-ru)。fileinput({
language:ru,
uploadUrl:http:// localhost / site / file-upload -batch,
allowedFileExtensions:[jpg,png,gif]
});
< / script >
("#input-ru").fileinput({ language: "ru", uploadUrl: "http://localhost/site/file-upload-batch", allowedFileExtensions: ["jpg", "png", "gif"] }); </script>



< input id =input-rutype =filemultiple class =file-loading/>


<input id="input-ru" type="file" multiple class="file-loading" />


这篇关于我想要HTML5中的文件上传,Infrajectics ..的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆