如何在上传前删除预览图像? [英] How to remove preview image before upload ?

查看:105
本文介绍了如何在上传前删除预览图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不知道它不预览图像,我无法解决。我不知道是什么错误?请帮帮我,链接http://jsfiddle.net/ittvn/h145xey9/19/非常感谢。



P / s:我看到链接http:/ /jsfiddle.net/ERZVC/2/来引用

解决方案

问题是什么?小提琴正在工作,我已经测试了,并且这里看看 [ ^ ]。我选择了图像,在上传或做任何事情之前,图像的屏幕截图都出现在那里。您发送了什么错误,您可以在控制台中看到它。按F12并查找控制台。每个错误都记录在那里,看看。



提示:你需要使用jQuery库,确保它在左上角被选中。


我的jsfiddle工作不正常,我想在上传之前预览图像,它可以删除预览(类似的取消选择图像)。我只想要增加1张图像,预览它并将其删除。我在该链接中有代码,我不知道它为什么不预览图像,我无法解决因为我的编程能力不好?


I don't know it don't preview image, I can't solve. I don't known what error ? Please help me, Link http://jsfiddle.net/ittvn/h145xey9/19/ Thank you very much.

P/s: I see link http://jsfiddle.net/ERZVC/2/ to make reference

解决方案

Whats the problem? The fiddle is working, I have tested it, and here have a look[^]. I selected the image, and before even uploading or doing anything the image's screenshot was present there. What error is being sent to you, you can see it in the Console. Press F12 and look for Console. Every error is logged there, have a look.

Tip: You need to use the jQuery library make sure it is selected in the top left corner.


jsfiddle of mine is not working right, I want to preview an image before it upload and it can remove preview (similar cancel select image). I only want to up 1 image, preview it and can remove it. I have code in that link and I don't know why it don't preview image, I can't solve because my ability of programming is not good?


这篇关于如何在上传前删除预览图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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