Most voted "ajax" questions
AJAX (Asynchronous Javascript and XML) is a technique for creating interactive websites uniformly through asynchronous data exchange between client and server. AJAX facilitates server communication or partial page updates without a traditional page update.
Learn more…3,397 questions
Sort by count of
-
0
votes1
answer211
viewsSlow Ajax and Login Validation without running right
Good night, I have a form where I before accessing I do the validation with an ajax, php and mysql, this validation checks the access attempts, and if the user put 5 times the wrong password, it…
-
0
votes0
answers50
viewsPlot Chart Google Chart via data in input
We have a autocomplete box, where the user writes an item and when you click "Send" the same will plot a graph on the same screen (page). I am using Google Charts and for the autocomplete I am using…
-
0
votes1
answer157
viewsSearch data using PHP and AJAX with jQuery
Hello, I have an HTML page with a form, the form has 4 fields, on this page I want to fill the fields (randomly) and search the data according to what I filled. For this I am using AJAX with jQuery,…
-
0
votes1
answer364
viewsReplacing ajax in a content call without refreshing the page
I am developing a Dashboard for learning, until I came to the question of loading the content inside a div without the page update, searching I found a way using ajax and jquery. I went a little…
-
0
votes0
answers34
viewsA query with related answers
Great pleasure to be here. I would like some information. What would be the most correct form or name to make a tool like this: I would like to make a filter in the database using check boxes on the…
-
0
votes1
answer65
viewshow to take value from an autocomplete and send to the controller (AJAX)
You can receive the chosen value from a field and use this value in a variable in the controller? This is my field: <div class="form-group hidden" id="idnome" > <label>NOME…
-
0
votes1
answer206
viewsorg.springframework.Beans.Invalidpropertyexception: Invalid Property
I am new in the java world I am with the springframework error when trying to send a request via ajax. Does anyone have any idea what might be causing the error? Below an example: Javascrpit: var…
-
0
votes2
answers77
viewsPOST in Ajax arrives with null data in the Actionresult of MVC5
I have an AJAX function that is the event click of a button where I pick up all the checkbox which are checked and caught the values of each and play on an array this way:…
-
0
votes1
answer77
viewsHow to run a Script using AJAX
I have a form on a "pagina1.php" page, so: <form id="form1" action="pagina2.php" </form> After running an Ajax function, I add the following script into this form with . append():…
-
0
votes1
answer150
viewsHow to show Laravel Storage image with Ajax?
I have a project that analyzes images and returns a frame and some variables, within the /storage/imagens/ where I save the image analyzed but I do not know how to make it be pulled by ajax and…
-
0
votes0
answers235
viewsConstruct 2 connection problem with server via AJAX and XML
Good evening , I’m a beginner in the game creation part , and I’m trying to learn how to create communication between the game and the server , however , using Construct 2 , I’m having problems ,…
-
0
votes0
answers129
viewsAccess AJAX multidimensional array
Basically I have to take the information in the bank and play on the screen, so I wanted to make a screen only with the ones of "Ratings" and that, when clicking on some button, will show me the…
-
0
votes2
answers78
viewsSend information about the link clicked to the server before redirecting
How to fire an AJAX event when the user clicks on a link? Whereas, the link will redirect him to another page. I tried to carry out the process, however, sometimes the event is not triggered(I…
-
0
votes0
answers134
viewsCORS error on request with Axios
Okay, guys, I’m having a problem making a request with the Riot Games API. Response returns code 200, which is the code of when the request worked, but I cannot handle the object returned by json…
-
0
votes2
answers835
viewsJS does not identify rendered class after loading the page?
Html page: <html> <head> </head> <body> <span id="resposta1"><a style="cursor:pointer" onclick="resposta(1)">Responder</a></span> </body>…
-
0
votes1
answer49
viewsset cursor position
it is possible to define where the cursor will look as soon as the user enters a screen ? For example, I have this input, as I define that whenever the screen is logged in or loaded, the cursor is…
-
0
votes1
answer120
viewsOnchange event with two selects
Good guys, gave problem. ajax function to trying to load a list of clients and each client exists a property to create reports. Ajax code: function CarregaPropriedades(Cliente) { if(Cliente){ var…
-
0
votes2
answers45
viewsAJAX with sync error
Talk to the guys, all right? I have a boring problem, and as I have never used AJAX in my life I think the problem is me :( Basically it’s like this, I have a GET that returns me the following JSON:…
-
0
votes0
answers51
viewsProblem with AJAX WEB environment
Good afternoon. I have an application on localhost this working perfectly, but the WEB does not follow picture: Localhost WEB The list of products in this case is large, and in the web works when I…
-
0
votes1
answer41
viewsAJAX jquery request generating an array with only one field loaded
i have an array of objects - JSON: [ { "nome": "Luis", "numero": 14 }, { "nome": "Pedro", "numero": 12 }, { "nome": "Maria", "numero": 1 } ] how do I make an AJAX (jquery) request that returns only…
-
0
votes1
answer34
viewspreventDefault() Does it not work together with ajax/josn?
I’m having this problem that preventDefault(), does not work for anything within ajax. I can see perfectly in the CONSOLE.LOG that it returns false, already tested with Alert to ensure that it does…
-
0
votes1
answer99
viewsHow to get only specific page elements via Xios.get()?
With the Axios.get method from the Axios.js library I can get an entire HTML page, right? Example: axios.get('http://www.umaurl.com') .then(resp => { console.log(resp) }) But now, if I just want…
-
0
votes2
answers734
viewsHow to display formatted values in the chart
I use the following library to generate the graphs: http://www.chartjs.org I have the following function to format money with semicolon (taken from an answer here in the OS) which returns the value…
-
0
votes2
answers228
viewsAjax request problem via jQuery - PHP
I am developing a particular project and I started to develop a calendar to put in this project, however, when sending the date selected by the user or automatically when he enters the page, To be…
-
0
votes2
answers34
viewsproblems retrieving "Answer" from a request
I make the request normally, but when trying to recover the response of this request there is no return let rqs = new XMLHttpRequest(); rqs.open("GET",…
-
0
votes2
answers3379
viewsHow to catch a . JSON from a JS URL
I looked at some examples of jQuery documentation, but I haven’t been able to. Code: <!DOCTYPE html> <html lang="pt-BR"> <head> <meta charset="UTF-8">…
-
0
votes0
answers55
viewsSend request via ajax php
I would like to know how I make a request via ajax in real time, basically it is to popular a select of cities, more when I have run the code his modal simply does not open, follow the code to…
-
0
votes1
answer35
viewsList $_SESSION from different php users
I searched a lot and nothing, there is the condition to list all users of different Sessions? For example this script I use, lists only 1 user. <?php include "db.php"; $qryLista =…
-
0
votes0
answers67
viewsHow to resolve the Uncaught Syntaxerror: Unexpected token Ajax?
hello I have the following code: var player = videojs('MY_VIDEO_1'); player.on('ended', function() { $.ajax({ url: "", context: document.body, success: function (s, x) { $(this).html(s); }) }; and…
-
0
votes0
answers9
viewsComponent for creating and registering questions and answers like Google Form
I want to know how you have any question-and-answer component like Google Form. That would have the type options of questions (multiple choice, multiple selection), delete or duplicate the question…
-
0
votes0
answers75
viewsFancybox and Ajax
Good afternoon guys. I’m having trouble with the Fancybox here and I wanted to see if anyone has managed to do it. I have a PHP script that takes 3 POST variables (latitude, longitude and accuracy)…
-
0
votes1
answer42
viewsFormsauthenticate + jQuery Ajax
I am creating an application that uses Formsauthenticate to log into the system. However, I would like to make a treatment so that in an ajax request (jquery) made when the user is not logged in. I…
-
0
votes1
answer701
viewsPick up last generated ID in Insert, return to ajax function and send to another page
I am making a program and on the first page insert a series of values typed by the user in the bank and Gero a id. After that I would like to return the value to the AJAX function and redirect to…
-
0
votes2
answers625
viewsPhonegap: How to save an image taken and transformed into Base64 in the Bank?
I take a photo with an android application and turn into Base64, I would like to know how to save this Base64 in the bank along with other information I have on the page... This is my code that…
-
0
votes1
answer78
viewsProblem defining 'allowTimes' in xdsoft Datetimepicker dynamically
Well guys, I have a problem here with the Datetimepicker. I’m trying to set the times dynamically accepted with the allowTimes attribute. To make it easier the code is asism:…
-
0
votes1
answer52
viewsFailed to pass check (date.Success)
I have the following code: $.ajax( { type: 'GET', url : "chat/updates/", async : true, cache : false, success: function(data){ if(data.success){ alert(data) thread = data.messages; senders =…
-
0
votes1
answer136
viewsRecover Symfony action data in Ajax
Hi, I have a button that triggers an action Ajax that leads to a action in the controlador Symfony. In the action I can do the select and see the information I want, but I just can’t get it from…
-
0
votes1
answer689
viewsReading the json correctly to generate the data for the chart (Ajax and Morris)
https://github.com/rg3915/morris/blob/master/myproject/core/templates/core/persons_by_uf.html#L231-L263 I’m not being able to return the json via ajax, I tried with console.log but it’s returning…
-
0
votes1
answer383
viewsDatepicker With Highlight Dates
I am working with a calendar of events and I would like the calendar to show me in different color the days that have events. Use the datepicker.…
-
0
votes1
answer436
viewsJquery stops working after running the load command
I’m using the remote $("#teste").load(location.href+" #teste>*",{id : idd}); The command updates the data div group and send a parâmetro for the same. The div, has class, commands jquery that…
-
0
votes0
answers559
viewsHow to generate/send (Server-Side) JSON via Java and receive via Jquery (Client-Side)?
I’m having trouble exchanging information between my web application (client) and my application java on the server side. I am trying to query the server via JQuery and hoping to receive as a return…
-
0
votes1
answer374
viewsReturn ajax error when have accent
I have a table that when I include some text that contains accent add all other texts of the same condition. tried several ways to use UTF-8 I found on the net but none worked and I noticed in the…
-
0
votes1
answer57
viewsJavascript button error on IE9
I have a browser problem only in IE9, which occurs at the time I load an attachment and when I click the include attachment button (POST) as image below: function uploadResponse(frameId) { $.ajax({…
-
0
votes1
answer361
views -
0
votes1
answer98
views -
0
votes1
answer151
viewsInsert mysql with Ajax inside While
I’m trying to make a dynamical Insert using ajax. as shown in the image below. I want to be able to click send from any line and do the post referring to it How can I do that <script…
-
0
votes1
answer426
viewsAjax REST: PUT/DELETE does not work
I have 2 applications: 1) a Rest API on an XPTO server (Using Laravel 5.1), which has: ->header('Access-Control-Allow-Origin', '*.xpto.com.br') ->header('Access-Control-Allow-Credentials',…
-
0
votes0
answers43
viewsAdditional divs with Ajax JSON do not take the style
I have a little problem, I made a programming of portffolio blocks where when I press on loads more my ajax creates the other blocks of the database. However he is not pulling the style that the…
-
0
votes2
answers46
viewsError searching page data with AJAX
I’m trying to pull a content through ajax but I’m not getting, nothing appears in Received Jax. HTML: <a href="#portfolioModal54" class="portfolio-link" data-toggle="modal" id="executaAjax"…
-
0
votes1
answer30
viewsProblem to query inside the second Dropdown
Always enter ajax error: error: function (ex) { alert('Failed to retrieve vigararias.' + ex); } Screen error: Failed to Retrieve Vigararias. [Object Object] View: <script…