Questions tagged as 'ajax'

0
answers

how to upload image with ajax and laravel?

I want to save an image with ajax and laravel but I get an error in js, and I think it's because the image is not saved. view <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleMo...
asked by 04.01.2018 / 17:42
0
answers

Call Ajax my project slows me down

I have the following call ajax; function notificacion_json(){ /* Cargar notificaciones_respuesta_solicitudes */ var resultado = document.getElementById("span_numero_notificaciones"); var xmlhttp; if(window.XMLHttpRequest){...
asked by 10.01.2018 / 17:08
1
answer

prevent submit with ajax

I have the following form: <form id="frm-registrarusuario" action="../php/usuario.php" method="post"> <input name="usuario" id="usuario" type="text"> <input name="clave" id="clave" type="text"> <button type="submit"...
asked by 23.12.2017 / 00:55
1
answer

How can I give value to inputs depending on the value of a combobox?

Could you help me with giving a value to 4 inputs depending on the value I take from a combobox that loads the column of a table where all my data is? For example if on my page I use the combobox and I select the value "FIELD" (as it comes in...
asked by 08.01.2018 / 01:06
1
answer

How to send a res.json () that is inside a for loop, using node (express) and ajax

I am working with NodeJS using express with this I have the routes such as POST and GET I connect to bd and make queries in the < strong> app , but I have a question about the following code: function getAllDatabas...
asked by 21.12.2017 / 15:20
1
answer

at the time of recharging a div, the script that is inside the div is not recharged

my code is as follows: <?php $r= rand(0,9); echo" <html> <head> <title>Alertas</title> <script src='web/view/js/jquery-2.0.3.min.js'></script> <script src='web/view/js/main.js'></script>...
asked by 27.12.2017 / 00:30
2
answers

Ajax post request

I am new in JS and I am confused in this, post request by AJAX , I would like to know if my comments are ok and if I am correct because I am confused enough, a post request opens and you are pass 3 arguments, string...
asked by 20.12.2017 / 21:11
0
answers

DatePicker JQUERY UI - Redial dates from a database

What I'm trying to do is highlight some dates, taken from a database, in a datepicker. After searching a lot on the internet it seems normal, but I can not get it ... any help will be welcome. My codes: //función para mostrar el calendario...
asked by 20.12.2017 / 18:45
1
answer

Foreach travels PDOStatement object in some cases and in others not. Why is it?

I'm working on a PHP project with connection to MySQL , but I have a problem, when I do select , in some cases foreach can go through the PDOStatement object and in others do not, I do not know if I owe it to the cons...
asked by 20.12.2017 / 17:31
1
answer

how to pass data by ajax with laravel?

I have to update the status of the vehicles that are in a table, so far I have updated the status but what is not is how to send the data to my table but without reloading the entire page ie with ajax I leave my code thanks AJAX: function A...
asked by 02.01.2018 / 19:43