如何显示的装载图形,而一个文件是越来越上传?图形、上传、文件

由网友(一腔孤勇)分享简介:该文件应在上传通过Ajax或内部框架的背景。我应该可以用JavaScript来检测时,上传完成后,这样我就可以隐藏加载图形和用户重定向到一个新的URL。使用jQuery是罚款。The file should be uploaded in the background via Ajax or Iframes. I sh...

该文件应在上传通过Ajax或内部框架的背景。我应该可以用JavaScript来检测时,上传完成后,这样我就可以隐藏加载图形和用户重定向到一个新的URL。使用jQuery是罚款。

The file should be uploaded in the background via Ajax or Iframes. I should be able to detect via javascript when the upload has completed, so I can hide the loading graphic and redirect the user to a new URL. Using Jquery is fine.

推荐答案

查看 jQuery的Uploadify

Check out jQuery Uploadify

编辑:也有一个类似的问题:how-to-upload-file-jquery - 你可以显示图形的上传按钮被点击并隐藏在成功后/ onError的回调函数

There's also a similar question: how-to-upload-file-jquery - you could display the graphic after the upload button has been clicked and hide in the success/onerror function callback.

阅读全文

相关推荐

最新文章