Most voted "xmlhttprequest" questions
Xmlhttprequest is a Javascript object that was designed by Microsoft and adopted by Mozilla, Apple and Google. It is now being standardized in the W3C. If the question isn’t about Xmlhttprequest, don’t use this tag, even if you are using Xmlhttprequest in your project.
Learn more…77 questions
Sort by count of
-
0
votes0
answers24
viewsError 500 when trying to Upload Video with Xmlhttprequest Asp.net/C#
I have an application that uploads video using XMLHttpRequest when I uploaded a small video (386Kb) the video goes up normal, but when I try a larger video (20Mb) it does not reach the function C#…
-
0
votes2
answers82
viewsXHR in javascript for Python displays three times the return
I recently deployed Python to my IIS server, and started testing some requests. First I created the javascript code, as you can see below: sendRequest = function() { var http = new XMLHttpRequest();…
-
0
votes0
answers552
viewsPlace . txt local file inside a local page
Eae, y'all. I want to warn you first that I don’t know much about java and these kinds of code, so I hope I don’t have any answers, but come on. Next, what I need to do, for a project, is to use the…
-
0
votes2
answers158
viewsAccent error with xmlhttp.open (or in PHP) using Angujarjs / Ionic
I have problems accentuating the sending of form data to the database, it gets the wrong accentuation, like: No = NO. How could I solve this problem? Follows my codes: My Controler: // ENVIAR DADOS…
-
0
votes1
answer106
viewsXML Parser in PHP does not work
I am trying to implement an XML PARSE code in PHP, I believe I have set up following the right logic, but it is not working. It works if I use it with an RSS feed, but the RSS Feed doesn’t have the…
-
0
votes1
answer75
viewsAjax requests do not stop loading
I have been with this problem for many days now, I have a page where externally loads the link from a security camera to display the image on the main page, so far so good, the image shows normally…
-
0
votes1
answer43
viewsJquery of my page does not work after being called by an Xmlhttprequest
I have the following code that takes a table on a php page and brings the table inside a div in my index. But on this my getreult.php page there are codes in jquery, but they do not work, and if I…
-
0
votes1
answer493
viewsLoading script asynchronously
I have an administrative system using adminLTE. In the side menu I load all my scripts asynchronously (at least it was expected). However when I load an HTML asynchronously, and inside this file I…
-
0
votes0
answers127
viewsSend used file @Ajax.Beginform and Xmlhttprequest
I have the following doubt: I’m doing a post with @Ajax.BeginForm, but the same does not send file, so I wanted to use the File Api, my idea was this I would do the post for @Ajax.BeginForm thus:…
-
0
votes1
answer153
viewsReturn value with Xmlhttprequest
dataPacket: function(type){ aTurn.packet = new XMLHttpRequest(); aTurn.packet.open('GET', 'teste.php', true); aTurn.packet.send(); aTurn.packet.onreadystatechange = function(){…
-
0
votes0
answers32
viewsxmlhttp.open, does not accept subfolders
I have a problem. I do the Xmlhttp request and everything works fine, however, when opening the json it does not load, because it is inside a folder, I try as follows ("GET", "data/data.json",…
-
0
votes0
answers651
viewsAccess-Control-Allow-Origin problem in XHR with Javascript
I am trying to consume an API via XHR and Javascript that comes from SAP HANNA and it is returning these errors: The funny thing is that with Postman it returns me the values, but with JS and XML it…
-
0
votes1
answer38
viewsWarning error: include PHP
You know what could be the cause of the error? my route code: <?php class Rotas { private $telaAtual = "primeira"; public function getTelaAtual() { return $this->telaAtual; } public function…
-
0
votes1
answer2001
viewsXmlhttprequest failing due to No 'Access-Control-Allow-Origin' [React/Mongo/Axios]
I have a backend running on localhost with the following code: server.js: const port = 3003 const bodyParser = require('body-parser') const express = require('express') const server = express()…
-
0
votes1
answer23
viewsXmlhttprequest does not find execute (Duplicate)
In the last question (Xmlhttprequest cannot find run) was struggling what was going wrong in my code, so I followed some tutorials on youtube to see what the demonstration is like in practice,…
-
0
votes1
answer68
viewsHow to make a request... Xmlhttprequest with array
following code: let info = new Array() info[0] = 'index.php' info[1] = 'portifolio.php' info[2] = 'nn' let url = ['https://xraros.000webhostapp.com/'] let proxy =…
-
0
votes1
answer126
viewsHow to Send Data from localStorage via AJAX to PHP and save them to an HTML file
I want to send the data saved in Localstorage with PHP to a file or to a database not necessarily need to be PHP code need some solution for this <h2>Likes</h2> <p…
-
0
votes0
answers6
viewsAJAX - Requests made before the event occurs (executing action before the click)
I am developing a school system, using Php as a back-end language. I have a registered users query page, which initially opens listing all existing registrations, however there is a checkbox filter…
-
-1
votes1
answer568
viewsError: Access-Control-Allow-Origin, for ajax request
For the AJAX request below: var url = "minhaurlaqui"; $.ajax({url: url, success: function (retorno) } I have the following return: "Access to Xmlhttprequest at 'urlaqui' has been blocked by CORS…
-
-1
votes1
answer48
viewsError when making real time request with Xmlhttprequest
I have an error in my Real Time request via Xmlhttprequest, follow javascript code: function requisitar() { var base_url = window.location.origin; var xmlhttp; if (window.XMLHttpRequest) { xmlhttp =…
php javascript xmlhttprequest realtime-database real-timeasked 6 years, 9 months ago Alisson Maciel 141 -
-1
votes1
answer117
viewsProblem when requesting API using Xmlhttprequest
I am developing a system in pure Javascript. (Yes I want to do, even knowing the limitations rsrsrs) However I can’t access the API as it generates the following error when I do some request for…
-
-1
votes1
answer138
viewsIs it possible to make an http request to an external domain by Xmlhttprequest in Javascript?
I’m working on my TCC and in it I planned to make a web service with PHP. It is hosted in a host external while the web page is on my Cotil-Unicamp localhost/served, until it’s walking, but now I’ve…
-
-1
votes1
answer96
viewsList database data with json/ajax including with createelement
Hello! I am listing the user data of my data group travels json/ajax, the data is captured and arrive in my request file "usuarios.php" but are not being listed. The code was even working normal,…
-
-1
votes2
answers62
viewsSeparate and print Object items in HTML
I have this script: var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { var txt = this.responseText; var obj =…
-
-1
votes2
answers38
viewsDifficulty in calling Xmlhttprequest with pure Javascript
I’m having difficulty a few days, I’m beginner and even reading the documentation sometimes apply is not as simple as it seems, I understand that I lack Exp to understand. my problem: I’m using the…
-
-2
votes1
answer66
viewsI’m not talking about displaying Github’s content on screen, so according to the exercise, someone will help me?
/*Create a screen with one that should be named after a user on Github. After typing the user name and click the search button the application should search for the Github API (as per URL below) the…
-
-2
votes1
answer350
viewsHow to consume a Soap (do cadsus) api via javascript(Browser)?
Today I can consume Cadsus Aces by dotnet c#. However, now I need to consume these same Apis(cadsus) via javascript(screen), but, I’m getting the following error when I make the following request…