简体   繁体   中英

File Upload Progress Bar without using AJAX

I have a standard multi-part form that uploads a file to a remote URL, which responds with redirect header.

Because the page loads from www.site-a.com & the form posts to www.site-b.com, I can't use the usual ajax.form submission process.

I have no access to configure the remote www.site-b.com server.

Is there a way to monitor the current upload progress directly from the browser with jQuery?

如果www.site-b.com网站是您的站点,则可以将Access-Control-Allow-Origin设置为*或site-a,然后使用ajax。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM