简体   繁体   English

如何添加jquery-fileupload插件

[英]how to add jquery-fileupload plugin

I have used carrierwave and followed the link But not able make it like demo of jquery-fileupload link 我已经使用了载波并遵循了链接,但是无法使其像jquery-fileupload演示的链接

Can anyone guide me where to place the files of js file and images and how to include javascript in html. 谁能指导我在哪里放置js文件和图像文件,以及如何在html中包含javascript。

if any tutorial or example of Rails, that will be great... Thanks 如果有任何Rails教程或示例,那将很棒...谢谢

Different people have different opinion about where it is OK to keep the files. 对于可以将文件保存在何处,不同的人有不同的看法。 Generally, 通常,

  1. Javascript are kept in js or script JavaScript保留在jsscript
  2. Images are kept in img or images or media 图像保存在imgimagesmedia

Including JS on the HTML is done as this 这样就可以在HTML中包含JS

<script type='text/javascript' src='path/to/jsfile.js'></script>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何使用jquery-fileupload嵌套附件? - How to use jquery-fileupload for nested attachments? 如何清除 blueimp 的 jquery-fileupload 插件中以前选择的文件? - How can I clear previously selected files in blueimp's jquery-fileupload plugin? Jquery-fileupload插件 - 上传文件,但说“文件上传失败” - Jquery-fileupload plugin - uploads file but says 'file upload failed' 使用jquery-fileupload进行Ajax调用 - Ajax call with jquery-fileupload 角度jquery-fileupload示例的打字稿版本? - Typescript version of the angular jquery-fileupload example? 无法将额外的数据附加到jquery-fileupload调用 - Cannot append extra data to jquery-fileupload call 带有jquery-fileupload ui的Django引发错误,显示“此字段是必需的。” - Django with jquery-fileupload ui throws error with “This field is required.” blueimp jquery-fileupload异步上传多个文件 - Uploading multiple files asynchronously by blueimp jquery-fileupload 如何获取jquery fileupload插件的fileList? - how to get fileList for jquery fileupload plugin? jquery-fileupload:仅在生产环境中出现“ TypeError undefined function”错误 - jquery-fileupload: getting “TypeError undefined function” error in production environment only
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM