Questions tagged as 'ajax'

1
answer

Ajax url changes on the server - MVC

Is it wrong to declare urls in ajax in this way? $.ajax ({ url: '/SFI_IncentivoDet/buscarIncentivosSinDetalles', type: 'post' }); I am working with the functions in separate files, in some cases I hav...
asked by 04.08.2017 / 07:27
1
answer

Search MySql using a drop-down list select with php Ajax Jquery

I am doing a search input using the event keyup in jquery, now if instead of input I use a select what event would I use or how would I do in that case? This is the input <input type="text" name="pedido" class="form-...
asked by 03.08.2017 / 16:47
1
answer

How to send two variables ajax, json

Hello I would like to send by post with the following code, two variables I can only send one, any suggestions? Thanks <script type="text/javascript"> $(document).ready(function() { $("#au").change(function() { $.ajax({...
asked by 10.01.2017 / 18:44
2
answers

Validate a Jquery calendar with a number of days in Select

Good morning: I have a variable that contains an example number $ por_disfrutar = 4; And then with a select I do a for cycle to go through those 4 numbers and I throw the following: <?php for ($i=1; $i <=$por_disfrutar ; $i++) { echo...
asked by 09.12.2016 / 18:11
3
answers

How to make a query using AJAX from a ComboBox

I have a ComboBox that loads the option from the database. I need that when selecting any data, load the query, depending on the selected option, all this with AJAX.     
asked by 17.10.2016 / 06:53
3
answers

does not show JQuery autocomplete matches

I'm using Jquery's autocomplete library, I think it works 50%, it does not generate an error but it does not show me the text of the matches it finds, they only appear as the rows where the text should go, not I know why ? this is my code...
asked by 15.11.2016 / 19:06
2
answers

Checked radio button. php ajax

Good, I'm having a problem with this code, when opening the option to edit the form, I select the value 2 .. But there are some that have value 1 .. I leave here the code so you can see it .. function editarDestino(idDestino){ $('#form_edi...
asked by 29.06.2016 / 17:48
1
answer

Invalid JSON error reponse with DataTables

I can not load the information of a JSON in my table. When I get information through Ajax with DataTables , it tells me the error:    DataTables warning: table id = dt_client - Invalid JSON reponse. For more information about this error...
asked by 02.03.2017 / 08:28
2
answers

Consultation with ajax is not done and it does not give me an error

I'm starting with ajax. I have an input that generates a search with ajax in my mysql database, but it does not return any results and the console does not show any error $(document).ready(function() { $("#resultadoBusqueda").html('...
asked by 28.12.2018 / 13:07
1
answer

get variable with js and send them by ajax

I have some links that I create from a database; I go through all the registers and the samples. Now I need to send the id of recurso of which the button is being pressed, through AJAX to know with what recurso I am working....
asked by 07.12.2018 / 02:56