[英]How do you upload a file to a http web page using JavaScript?
I have recently used www.codecademy.com to teach myself HTML, CSS and JavaScript. 我最近使用www.codecademy.com来自学HTML,CSS和JavaScript。
I have had minimal coding experience prior to this so I'm not too hot on how everything works and the lessons that I went through only covered general, everyday code. 在此之前,我只有很少的编码经验,因此我对所有的工作方式不太热衷,所学的课程仅涵盖常规的日常代码。
I have looked online for a suitable tutorial/run down of how to go about it but I haven't found one I think is suitable. 我在网上寻找了合适的教程/入门指南,但没有找到我认为合适的教程。
I was wondering if anyone knows of any resources that I could use to help me learn this. 我想知道是否有人知道我可以用来帮助我学习的任何资源。
Any help is appreciated. 任何帮助表示赞赏。
Thanks. 谢谢。
HTML/CSS learnt: 学习过的HTML / CSS:
JavaScript Learnt: JavaScript学习:
There are plentiful of resources regarding javascript (ajax) file upload components out there. 关于javascript(ajax)文件上传组件的资源很多。 There's really no other (good) way to learn this than diving down into some code and trying to get a grip on it. 实际上,除了深入研究某些代码并试图掌握它之外,没有其他(好的)学习方法。 One good place to start would be one of the known javascript frameworks, like jQuery , MooTools etc. Most of them have a decent collection of plugins that might do what you need. 一个不错的起点是已知的javascript框架之一,例如jQuery , MooTools等。其中大多数都有不错的插件集合,这些插件可能会满足您的需求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.