Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to use the upload jQuery plug-in jQuery HTML5 uploader of HTML5

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article shows you how to use HTML5's upload jQuery plug-in jQuery HTML5 uploader, which is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

As the use of HTML5 becomes more and more accepted, HTML5-based technologies and plug-ins will become more and more widespread. Today we introduce an upload plug-in based on HTML5 and jQuery: jQuery HTML5 uploader.

Using this plug-in will make it easy and fun to upload files. You can upload files simply by dragging them to a specific area of the page.

Online demo online download

How to use it:

(function () {$("# dropbox, # multiple") .html5Uploader ({name: "foo", postUrl: "bar.aspx"});})

Parameter setting:

◆ name: upload field mark

◆ postUrl: file data processing URL

◆ onClientAbort: called when a read operation terminates

◆ onClientError: called on error

◆ onClientLoad: called when the read operation is successful

◆ onClientLoadEnd: called when the read is complete, regardless of whether it is successful or not. Usually called after onload and onerror

◆ onClientLoadStart: called when reading is about to begin

◆ onClientProgress: data is called periodically during reading

◆ onServerAbort: called at the end of a post operation

◆ onServerError: called when an error occurs

◆ onServerLoad: called when the post operation is successful

◆ onServerLoadStart: called when post data is about to start

◆ onServerProgress: data is being called periodically in the process of post

◆ onServerReadyStateChange: a javascript function object is called whenever the readyState property changes. Callback is called out of the box from the user interface.

The above content is HTML5 upload jQuery plug-in jQuery HTML5 uploader how to use, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report