文件上载控件,没有任何按钮单击事件 [英] File Upload Control with out having any button click event

查看:88
本文介绍了文件上载控件,没有任何按钮单击事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,


我有一个文件上传控件和一个图像控件.

当用户单击文件上传控件的浏览按钮时,将打开窗口,然后用户从窗口中选择任何图像.
到现在一切都很好...

但是,仅在使用任何click事件的情况下,图像才能在图像控件中上载吗?

如果不使用任何单击事件,当用户通过单击文件上传控件的浏览按钮选择图像时,是否有可能立即将图像显示在图像控件中.

有可能吗?

请答复..

Hi Friends,


I have a file upload control and an image control.

When user clicks on browse button of file upload control, then window will be opened and then user selects any image from the window..

Till now everything ok...

But, the image will be uploaded in image control only using any click event right?

Is there any possibility that without using any click event, when user selects an image by clicking on browse button of file upload control, then immediately the image should be displayed in the image control..

Is is possible?

Please reply..

推荐答案

这是可能的.看看这个链接中的最后一个例子
http://www.uploadify.com/demos/ [ www.msguy.com
It is possible. Have a look at the last example in this link
http://www.uploadify.com/demos/[^]. Use Uploadify to do it. Its jquery. its free. Its ajax based and asyncronous. Visit my blog for more tech articles
www.msguy.com


这篇关于文件上载控件,没有任何按钮单击事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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