Comments (13)
Comment author: timmywil
Marking as valid for 1.next
from jquery.
Comment author: malsup
This is really a fairly significant omission. As stated above, it's impossible to track FormData file upload progress without this property exposed. The jqXHR object is documented as a "superset of the browser's native XMLHttpRequest object". The upload property is but one example where this is simply not true, with respect to XMLHttpRequest Level 2. Either all properties should be exposed or there must be a way to access to the native XHR.
from jquery.
Comment author: jaubourg
-1, There are ways to access the native xhr (by overriding options.xhr in a prefilter). If we want upload in jQuery, then we'd better implement an upload method rather than try and have ajax be even more bloated.
from jquery.
Comment author: jzaefferer
+1, "overriding options.xhr in a prefilter" is not good enough - at least document how to access non-exposed properties in a sane way as part of the existing docs (see also Mike's comment)
from jquery.
Comment author: dmethvin
+1, I'd like a better/simpler way to do this as well
from jquery.
Comment author: mikesherov
+1
from jquery.
Comment author: timmywil
+1
from jquery.
Comment author: rwaldron
-1, Ajax is extendable.
from jquery.
Comment author: dmethvin
Bulk change from enhancement to feature.
from jquery.
Comment author: mikesherov
F you, Timmy
from jquery.
Comment author: meleyal
It seems you can access the xhr object in $.ajaxSettings.xhr();
from jquery.
Comment author: dmethvin
I'm switching to -1 on this as far as $.ajax is concerned, since any addition we make here would not be cross-browser in either branch. I'd prefer to deal with this in $.xhr.
from jquery.
I agree, this seems like more confusion to pile on top of $.ajax
, let's handle this via a different interface.
from jquery.
Related Issues (20)
- Cross Site Scripting (DOM) issue
- Treeveiw not woking with jquery 3.7.1 HOT 10
- DOM based Cross-Site Scripting (XSS) HOT 1
- Uncaught TypeError: Cannot read properties of undefined (reading 'createDocumentFragment') in jQuery 3.7.1 HOT 1
- Content-Security-Policy / nonce error in DOMEval HOT 2
- Facing jQuery Selector issue after upgrading from 1.7.1 to 3.7.1 HOT 1
- jQuery .load function errors if loading html with auto-removing script tag HOT 2
- Strange error behavior of event delegation when customizing jQuery HOT 3
- invalid assignment left-hand side in jquery-3.7.1.min.js HOT 7
- Update the rules for boolean attributes for 4.0 HOT 8
- Deprecation / Warning | jQuery CDN HOT 4
- Cannot read properties of null (reading 'compareDocumentPosition') HOT 3
- Invalid links in blog article HOT 2
- The jquery.factory.js bundle is missing in the npm package in the 4.0.0-beta release HOT 2
- `require( "jquery" )` returns a module object when used with Webpack & jQuery 4.0.0-beta HOT 24
- v4 beta : mottie/tablesorter plugin fails with sort() and trim() missing HOT 1
- Jquery-UI getting Error With jQuery jQuery 4.0.0 BETA! HOT 4
- jQuery.get() 4.0 backward compatibility issue HOT 3
- Permissions policy violation due to unload event HOT 1
- Avoiding JQuery version disclosure on Angular's Script.JS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.