Questions tagged as 'ajax'

1
answer

Ajax and PHP query

Dear. I have a chart made with highchart, which takes data from a base in mysql. I need to send two data through ajax, the range of dates, start and end date. This is the code portion of the ajax. The file is called index.php <script>...
asked by 19.04.2016 / 16:24
3
answers

jQuery AJAX take value from a list and pass it to an object

I have the following @Html.DisplayFor , how could I take the ID and pass it to an AJAX object? @Html.DisplayFor(modelItem => item.Regla, new { id = "reglaid" }) <div class="form-group"> <div class="col...
asked by 19.01.2016 / 16:42
1
answer

Show laps of a for in time intervals

The following is more than anything a query. We have a simple cycle: for ($i = 1; $i <= 10; $i++){ echo $i."</br>"; } As we already know at the time of executing this code, all the results will be displayed once and in this case...
asked by 27.12.2018 / 22:02
2
answers

500 Internal Server Error

I am new and I have an error in the platform that I am programming with php, this error appears to me now, I already put the permissions to the folders and the files, in my localhost it works perfect the error is in the server what is with IIS8...
asked by 04.12.2018 / 17:02
1
answer

Change value of an attribute in ajax

I have the following query: I want to know if it is possible to use a variable in an attribute in ajax, I do not know if I explain myself, but in the following code I will try to explain: <script> function active_change_update(ruta, id,...
asked by 03.01.2019 / 14:59
1
answer

Show wait GIF while ajax makes the request

I have the following HTML code: <div id="detalles-modalE" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content">...
asked by 25.11.2018 / 20:14
1
answer

Url AJAX variables

Sorry I have a question about how I can send the same variables to two different URLs in an ajax     
asked by 29.11.2018 / 20:45
1
answer

Error jQuery 500 when executing a GET

I have a small script that calls a PHP file but it does not work for me, it throws 500 error by the Chrome console ... The idea is that when you select an element in a textlist, then execute the PHP code and print it inside a table that has i...
asked by 13.12.2018 / 06:14
2
answers

Get an answer with AJAX jQuery, it's not going to succes!

I make this query from jQuery AJAX, because I'm doing a PHP, AJAX, JQUERY test, The issue is that I try to make a request to the server to send data from the user fields and password but when sending the data, I'm always going to error instead o...
asked by 28.11.2018 / 02:41
2
answers

$ this-request-getData (); does not recover the data

I'm going crazy with the AJAX response I want to pass a variable by ajax and retrieve it with cakephp. The variable to recover is " option " jQuery + AJAX: $(document).on("click", "#modificar-foto-cuenta", function() {...
asked by 28.12.2018 / 21:18