Questions tagged as 'xmlhttprequest'

1
answer

What is PJAX and how to detect a PJAX call on the backend?

I've been reading some things about PJAX , but it's a bit confusing for its framework-independent operation, I've seen articles but all focused on YUI or plugins for jQuery, . If I understand the PJAX it is the DOM interaction (via javascr...
asked by 02.05.2016 / 01:47
2
answers

Problem when performing XHR in the same domain (localhost)

Explanation: I have an application running on a client computer, it worked normally for some time, then something happened that the system could only be accessed from outside and locally it did not work anymore . Problem: XHR is not ge...
asked by 10.09.2014 / 19:18
2
answers

Simple XML Reader: I can not convert nodes to HTML or limit the number of items

I've used SimpleXMLReader to make parse of a gigantic XML structure, that has more than 25mb. My code works normally, however, I have two problems: I can not turn Xpath into HTML . Well, I studied it, and I saw that it's n...
asked by 05.06.2017 / 09:46
1
answer

HTTP Request React Native

An API sends a status:false the code gets status . While status==false , the image of exclamation.png and message 'Pedido em Análise' will be rendered. If status changes to true both image values an...
asked by 07.05.2018 / 02:29
1
answer

reload effects of design material

I have a site with design material, but when I update the page html with XHR the new content loses the javascript effect as I could do to reload the mdl? To make the change between the view, I use two functions, in the first step the file url...
asked by 06.06.2018 / 22:57
1
answer

No 'Access-Control-Allow-Origin' header is present on the requested resource [duplicate]

I'm trying to do biometric authentication on a remote machine, using XMLHttpRequest. But it is returning the following message: XMLHttpRequest can not load link . In 'Access-Control-Allow-Origin' header is present on the requested resourc...
asked by 19.05.2015 / 17:33
3
answers

Error Access-Control-Allow_Origin not allowed [duplicate]

I'm trying to access another site from my program.php, but it's returning the message: XMLHttpRequest can not load In 'Access-Control-Allow-Origin' header is present on the requested resource. Origin ' link ' is therefore not allowed acce...
asked by 09.06.2015 / 01:11
2
answers

How to cause an XMLHttpRequest error?

I would like to understand in which cases readyState will be equal to 4 and status will be different from 200 and the difference of that for event onerror : xhr.onload = function (e) { if (xhr.readyState === 4) {...
asked by 24.08.2017 / 20:50
1
answer

Get return XMLHttpRequest send

Good afternoon, I'm using the following code to upload images: function uploadImage($form){ $form.find('.progress-bar') .removeClass('progress-bar-success') .removeClass('progress-bar-danger'); var formda...
asked by 15.05.2015 / 20:20
1
answer

Msxml3.XMLHTTP In which case is it used?

I was reading the following topic: Ajax request with pure Javascript (without APIs) There they show the following line of code: var XMLHttpFactories = [ function () {return new XMLHttpRequest()}, function () {return new ActiveXObj...
asked by 27.08.2014 / 15:26