Questions tagged as 'ajax'

1
answer

How can I traverse a json array, get its values to show them in the view?

function nuevaPartidaVenta() { var ticket = $('#ticket').val(); if (ticket != null && validaFormPartidaVenta()) { //$(".agregar_partida_catalogo").hide(); var style_edit = 'style="width: 100%;"'; var url =...
asked by 16.02.2017 / 00:59
1
answer

Receive data select multiple serialize (); Jquery- Ajax

Always the following code to send and receive data from a form, first I group them in formData and then in php I take them out one by one to know their value, however I have several selects and only take the last value (or be the last element se...
asked by 17.02.2017 / 20:07
1
answer

Control the timming in calls to ajax functions

I have a function in javascript on a page, which queries a data through the controller .. which then goes to the BD .. etc .. the issue, is that the function in javascript, which is called in the event $ (document) .ready (function (), does not...
asked by 09.06.2017 / 14:58
1
answer

Google Maps API, error "No Access-Control-Allow-Origin"

I have a list of orders where each order has an address, what I want is for you to tell me the best order of delivery according to the direction of the orders. For that I use the Google Maps API that returns the positions in an array. But when I...
asked by 13.01.2017 / 14:34
2
answers

When I refresh my web page, the drop-down menus are dislodged and after 2 seconds they are placed well

At the time of refreshing my page the foldouts are dislodged but after a couple of seconds they are placed in their place. Is it possible that it's because of Jquery? or because when doing requests with php when reloading the page, this few seco...
asked by 19.12.2016 / 11:39
1
answer

Laravel and Jquery: Help with error NotFoundHttpException in RouteCollection.php line 161:

I am using this jquery plugin, jQuery Plugin For Editable Table Rows - Table Edits , to make editable tables in an application made in Laravel but I have the following problem: When I want to send the data of the record that I want to edit thro...
asked by 29.11.2016 / 21:25
1
answer

I can not get the JSON from an AJAX call

I have the following code in which I make several AJAX calls to receive a JSON from an API, depending on the first call I make other calls, that work correctly, my problem is in the last call, with the JSON that returns some URLs, what happens i...
asked by 19.11.2016 / 13:46
1
answer

Alert with ajax in c #

Good, I would like to know how I can make an alert appear when I press a button, but with ajax (using jquery better), that is to say without recharging the page. The code that I have now with which I reload the page is the following: prot...
asked by 25.12.2016 / 02:21
1
answer

How to get the servlet response html code

good afternoon engineers, I need to catch the html code of a servlet to be able to show only fragments of information, I do not pretend to modify any content, much less affect, I just need to show specific information, I attached an example imag...
asked by 05.01.2017 / 22:55
2
answers

When I update a Div with jQuery or AJAX I duplicate the page

I'm trying to update a div with jQuery here the javascript code; <script> $(document).ready(function(){ setInterval(loadClima,5000); }); function loadClima(){ $("#coches").load("dashboard.php"); } </script> here I put the di...
asked by 15.10.2016 / 22:59