Questions tagged as 'ajax'

2
answers

Consultation in ajax

$(document).ready(function () { var click = $('.click'); click.on('click', function () { var id = $(this).data('id'); usuario = '<?php $idMesero;?>'; for (var i = 1; i <= 14; i++) {...
asked by 21.05.2018 / 00:57
1
answer

how can I filter the data I show via the ajax request?

I want to filter the data that returns the AJAX request to get only those that start with the letters vmi . $('#datatable').DataTable({ 'dom': 'Bfrtip', 'buttons': [{ extend: 'excelHtml5', className: 'btn btn-primary', e...
asked by 07.05.2018 / 19:18
1
answer

Extract data from a db mediate angularjs and ajax

I am trying to extract the data from a table in my db using ajax and angular. Do a CRUD with MVC using asp.net and entity framework, the CRUD does not have any problem, but when displaying a data saved with angular no does not return anything I...
asked by 21.04.2018 / 22:10
1
answer

Do not load data

I am populating <table> with ajax, but it does not load anything, nor does it make an error, I tried with an alert the Ajax responses and they are not empty, no parameter is null; <div id="tb" style="overflow-x: auto;padding-ri...
asked by 21.04.2018 / 19:48
2
answers

Ajax fails to send data on asp.net

On the page Puzzle.aspx ego the following button: <figure><asp:ImageButton id="puzzle1" runat="server" ImageUrl="~/images/puzzle1.jpg" class="img-rounded img-responsive image" OnClientClick="showModel('uno'); return false" />&l...
asked by 27.04.2018 / 18:54
2
answers

Autocomplete failure

I am trying to fill some inputs depending on the value of a main input ... I mean, I have a form inside a div with an id so I can call it from a js <div id="revisarCliente"> <form role="form" method="POST" class="formularioVenta"...
asked by 28.02.2018 / 00:47
1
answer

Array is not preserved after AJAX

I have the following AJAX function that runs within for to check if certain data exist or not, if there is one variable is increased by one, if not, another variable is increased in one: si = 0; no = 0; for (var j = 1; j < parseInt...
asked by 25.02.2018 / 21:58
2
answers

ajax does not return data

I have the following code that should bring a response from a PHP file but it does not return anything. The answer should print it in an input. Any suggestions? Thank you very much! $('#servicio select').on('change', function() {...
asked by 15.02.2018 / 14:21
1
answer

Change for each by a normal for

I have an Object that is films and with this I am going to call an ajax function so that it shows me a title of a movie (In the api they send me 4 or more) to go through each movie I made a FOREACH but I want it to show me only one so I try with...
asked by 08.02.2018 / 11:03
1
answer

Append from ajax

I have this AJAX $.ajax({ type: 'POST', url: "libreria.php?cmd=" + comando, dataType: 'json', async: false, data: params,...
asked by 07.02.2018 / 14:29