Git Product home page Git Product logo

js-jquery's People

Contributors

bozdoz avatar gartner avatar henrya avatar mukaiizawa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

js-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?

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

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.