js-jquery's People
Forkers
laurentgt wp-tve alanraison foxman13 robertdmunn sunytonyli vicgor cadenasgmbh izzeddeen globaltalentgrid emawind84 liadb gartner lclijingxuan fauzimarjalih tonitonish wsq1992 sandrarum mvickeryjg tkei18 vvchens junlingqin vhbjavb jublo devryan915 technoboggle birbalds nestaj macem simmenilsson muhamadnazimabubakar 8q zhangyy130 swethanagopisetti knhj kanahara123 soshiyoshida violet2525 mitsunoritsukada ekabolotina cordial-osaka josonjiang hironori-kusano workspring navichiong aalcaidep soenoy febmark michpaetjs-jquery's Issues
License incompatibility
@copyright 2014 Henry ALgus. All rights reserved.
Is included in the JS for jquery.binarytransport.js. That particular form "All rights reserved" is incompatible with things like the MIT license you list in in your LICENSE.
I'm interested in using/playing-with this code for work but they take this kind of license stuff very seriously so I probably can't use it without a change to the © notice.
Code looks promising/nice. Thank you!
Angular js equivalent
Is there any angular js equivalent example.? I mean how to achieve ajax transport for making binary data type requests with angular $http service?
Binary Transport: Support converting to base 64
I think it's what this library is mostly used, can't we have a handy method or dataType that just passes the base64 string to the success callback?
Firefox support?
This code snippet works fine in IE and Chrome, but seems to fail in FF:
$.ajax({
url: 'test.bin',
dataType: 'binary',
processData: false,
success: function(data){
console.log(data.size + ' bytes loaded');
IE:
12408292 bytes loaded
FF:
20159546 bytes loaded
Chrome:
12408292 bytes loaded
Parameter async:false not works
according source code
async = options.async || true,
the async option will always true
No error on network fail
Hi
I'm using your plugin for getting file from my server to app via cordova. And there is no "error" event if network fails or changing from wi-fi to gsm or smthg. Just no error at all and script fails and nothing. How can i handle this? Nothing helps.
$.ajax({
url: url,
dataType: "binary",
.....
},
error:function() {
$('#loading').fadeOut();
$('#global_stop').hide();
$('#global_result').html('Connection error');
}
}).always(function(data, textStatus, jqXHR){
console.log(textStatus);
});
This construction doesn't fire error as well. Without your plugin it works well, but i need to save binary images.
Passing data to backend service
If I want to pass data to GET request.. I usually used to use data attribute in xhr.
But since processData option is false, my data is converted to querystring.
Any option to apply processData only on the received data?
Problem on error handling
I have a REST service that returns a HTTP 200
with Content-Type: application/pdf
on success, and a HTTP 422
with Content-Type: application/json; charset=UTF-8
on error; when using the 'binary' transport, jQuery is returning a jqXHR with empty responseText, on error.
jQuery BinaryTransport is not working in safari
I am using this js(jQuery BinaryTransport) for conversation binary to test and downloading the pdf with ajax and working fine in chrome and ff but when i tried my code in safari then it just gave me in form of binary code when m checking in element section of inspect element. Safari won't allow to download the file so can't we use this js for safari? any suggestion or updation please?
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.