• jquery »
  • Preview an image before it uploaded

Preview an image before it uploaded

最近项目有一个需求是需要在上传图片前预览图像:

实现:

html:

coffee script:

online

demo

reference

http://stackoverflow.com/questions/4459379/preview-an-image-before-it-is-uploaded

This entry was posted in jquery

Leave a Reply

电子邮件地址不会被公开。

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">