Questions tagged as 'ajax'

3
answers

The click event does not fire after reloading the content by an AJAX request in Symfony2

I have the following controller : public function indexAction(Request $request) { if (!$request->isXmlHttpRequest()) { $this->denyAccessUnlessGranted('ROLE_ESP_NAC', null, 'Imposible acceder a este recurs...
asked by 02.10.2016 / 01:34
1
answer

ajax send variable undefined to app.js (using nodejs)

this is my code, to send the variable "copying", but only shows by undefined console var texto="no existe 1 rayo zapato zanahorea karaoke Whisky software wikipedia jinete japon jabon facil frio rayo yogur habil hablar galleta gigante genti...
asked by 17.09.2016 / 08:10
2
answers

How do I send data from a modal window with ajax and php to mysql?

I have a modal window that sends data to a table in mysql called (jobs) that has three fields (Job_id, Job_Name and Cost) and likewise shows that data in the table in html My problem is that when sending the data, I get a message that it w...
asked by 04.11.2016 / 05:47
1
answer

Better language to interact with an external javascript

I am making a web page where I must use information from an external page, for this I need the page to connect with the external page with a user and its password and obtain the data that the page shows me. I have knowledge in Java but...
asked by 17.08.2016 / 16:11
1
answer

How to get Json data from several urls to render a single DataTable

I have two URLs that serve data of objects in JSON format, both formats have the same structure, except for the type of equipment: First URL: link { "id": 1, "tipo_equipo": "EquipoA", ///Esto es diferente al otro "n...
asked by 16.08.2016 / 12:11
1
answer

Error consuming service

I have a problem when consuming a Rest service with Jquery, I have no problem with tools like Insomnia or the browser. $.ajax({ type: "GET", url: "http://sanguchi.esy.es/peoples", contentType: 'application/json', dataType: "json",...
asked by 10.08.2016 / 01:02
1
answer

Check php and ajax

I have a form with an input type text and a button submit where I write a product code and search in a MySQL database. I show the results in a table within the same page, but how do I make the page not be reloaded by pressing th...
asked by 06.07.2016 / 21:58
1
answer

Simulate ajax synchronous in a loop

We already know that ajax is asynchronous and the only way to do it synchronously is by setting the async: false option. What I want to do is something like that for (var fact in facturas ) { sendEmailAJAX(facturas[fact]); co...
asked by 04.04.2017 / 17:47
1
answer

Page duplicates headers with AJAX request

I have a problem with a page that is loaded through AJAX to perform a search, I am working with a master page to have fixed the header of my page but when I make the call to the page that I call through AJAX I duplicates the header, I do...
asked by 22.04.2016 / 18:25
1
answer

Problem with Ajax form in Django Template [closed]

How can I access the dictionary if django makes the key unique, since it is necessary to send a json with arrays? This is my Ajax code in a Django template <script type="text/javascript"> function RegistrarAperturacaja(){ alert($...
asked by 03.03.2016 / 21:55