Questions tagged as 'ajax'

1
answer

Error in jQuery, when sending FORM: Maximum call stack size exceeded

Uncaught RangeError: Maximum call stack size exceeded at xb (jquerymin.js:4) at xb (jquerymin.js:4) Hello, I try to send the following form, and I receive this error by console: <form id="form_comentarios" action="POST"> &l...
asked by 07.09.2018 / 17:22
1
answer

How to make an ONCHANGE of a SELECT work when loading the page

What I have initially is a select which shows the last weeks that will be reflected in the incidents, the index is like this: <!DOCTYPE html> <html> <head> <title>ejemplo</title> <script src="https://code...
asked by 23.08.2018 / 22:17
1
answer

How to assign dynamic ids

How can I assign a dynamic id to a button that I print in a while? I need to assign a dynamic id to make the insertion, since I do not have a form. here the code while($fila=$consulta->fetch(PDO::FETCH_ASSOC)){ $this...
asked by 07.05.2018 / 17:50
1
answer

Iterate table in php in Javascript array

Hello, I have the following table that I am calling using a controller Driver $respuesta = GestorOITModels::obtenerViasModel("transporte"); //nombre de la tabla $datos = array($respuesta); echo json_encode($datos); JS file, wher...
asked by 14.02.2018 / 08:36
1
answer

Problem filling in input with data from a select

I am trying to fill a input according to a data that I choose from a select , I do it using AJAX and PHP . This is my code: <select id="pro" name="plan" class="form-control"> <option readonly>Elegir Plan&...
asked by 16.02.2018 / 21:05
1
answer

Progressbar with jquery in queries using ajax

I am in a form where I make a query by date, those parameters are passed by ajax, what it does is pass it to a controller to generate a list. It would be something like this: $.ajax ({ url: './consultar', type: 'get', data:{fechadesde:$...
asked by 24.03.2018 / 13:25
1
answer

send form with ajax in laravel

I have a problem with the ajax that I am using, I need to send those variables but I get an error in the console, I can not find the route and I need to know how to send it by laravel obviously $.ajax({ type: 'POST', url: '{{ur...
asked by 06.07.2018 / 17:54
2
answers

How to read a JSON response from AJAX?

How about? You see, I'm learning ajax and json; while I was doing some tests, I have a question that I have not been able to clarify and I would like you to help me. I explain: I have a code where I make an ajax request to get certain informa...
asked by 26.04.2018 / 23:57
1
answer

Can I upload files using php and ajax?

   Notice : Undefined index: photoProfile in C: \ xampp \ htdocs \ web \ profile.php on line 8 < br> When trying to upload a file using ajax I get that error and it does not upload the file, but trying to do it without ajax, and if it...
asked by 18.03.2018 / 01:19
2
answers

Problem when plotting with Highcharts and AJAX

I am trying to make a dynamic graphic, that I pass the data by AJAX, that when selecting a MES graph me according to result, it happens that in the browser console it shows me results according to the query but it does not graph me, and I...
asked by 26.09.2017 / 19:05