4 ms·
> useful methods such as ajax() (no, in vanilla js it's not "solved") Right - I use jQuery because I've greater confidence that `.ajax()` will behave correctly
by tomchristie 10y ago
> useful methods such as ajax() (no, in vanilla js it's not "solved")
Right - I use jQuery because I've greater confidence that `.ajax()` will behave correctly across a wide range of browser versions, though I don't have any good evidence about using that vs vanilla `XMLHttpRequest` these days. I'd be interested to know which bits of "not solved" - which aspects in particular are not yet well supported?
- franciscop 10y agoIt's not only about criss-browser, it's about the simplicity of ajax('/api/users', function(){}, 'json'); (of course, if you want to know about compatibility, http://caniuse.com/#search=xmlhttprequest http://caniuse.com/#search=xmlhttprequest )