Questions tagged as 'ajax'

2
answers

Stop ajax request

I have a page where an event grid is loaded in ajax. I also have a menu of actions on this screen. As soon as you access, the page loads (including the action menu), and the event grid, because it is heavier, loads separately. What is happ...
asked by 16.12.2014 / 20:47
2
answers

Upload upload files with AJAX

I am not able to send some upload files with AJAX. I need to send 3 files with dynamically generated inputs, so I did not use the multiple attribute. By firing the event, I get to the xhr.send (files), which does not "play" the PHP file. C...
asked by 14.10.2016 / 23:54
1
answer

C # Receiving Serialized Objects in a WebMethod

Good afternoon, I am passing a list of objects from JS to C #, to a WebMethod, as a function parameter, what kind of parameters should this be? I created a class to receive the data: public class serializeItens { //Dados de itens pub...
asked by 09.04.2014 / 20:04
1
answer

Modal + form + values (bootstrap and javascript)

From the link below link I created the following modal link In the modal I fill in a value and it will update this value in the page form (which will have more fields ...) Question : How do I do this using just Javascript, JQ...
asked by 05.10.2015 / 07:40
1
answer

Ajax POST with jQuery and Node.js Express always returning 404: Not Found

I created the route below to accept POST requests, but calls via AJAX for this route are always returning error 404: Not Found. /* Arquivo: integracoes.js */ var express = require('express'); var router = express.Router(); // Esta rota funcio...
asked by 08.10.2015 / 02:16
1
answer

Ajax Synchronous XMLHttpRequest

What should I do in this situation. I have a script where I have to disable in the AJAX function the option: async : false . I do this because it returns a variable in the wrong way, previous to the last one that was requested. If I put...
asked by 30.04.2015 / 22:49
1
answer

Dynamize Ajax Autocomplete Jquery with json data

I want to make dynamic suggestions with this API . < br> How to streamline the suggestion file by listing data from the mysql database?    Download DEMO:    link The file countries.js is what contains the suggestion dictiona...
asked by 10.11.2014 / 21:17
2
answers

Special Accents and Characters in Ajax jQuery

I have a query that is done with Ajax request via jQuery. In the fields when I type a character as "ç" and send the request to the server, it is arriving with the character in another format. Ex: I type ç in the name field and it arrives in Acti...
asked by 09.05.2014 / 16:17
1
answer

ClimaTempo API - Cities with accent give error

I have the following Endpoint where you get the name of the city and state in the URI: @RequestMapping(value= "/clima/{nomeCidade}/{ufCidade}/agora", method = {RequestMethod.GET, RequestMethod.OPTIONS} , produces="application/json" ) public R...
asked by 26.06.2018 / 21:08
1
answer

Ajax and PHP for uploading images + information registry

I've been beating since yesterday with an upload of images in AJAX. I am going to publish the advances that I had in study and the difficulties that I still have in case someone can help me:) My script as I always did (without images) was bas...
asked by 19.06.2018 / 15:11