Questions tagged as 'ajax'

1
answer

send checkbox checked by ajax method

Good I have a survey with several questions, to be exact are 100 and the answers are yes and no, I would like to know how I can send the answers checked whether or not to my ajax method, rather what I have doubt is how to send it the data to ins...
asked by 21.10.2018 / 21:24
2
answers

Doubt ajax in data

In this code to send data by ajax, how is the data part interpreted? The id does not seem to assign it with the colon (:) why? Also, where does the id come from (if you need it, I'll pass the complete code). I am involved in this part (below I p...
asked by 09.10.2018 / 12:11
1
answer

Any way to "align" a JSON using JQuery?

I have a form that returns a JSON with the variable data entered in the input of it. Below this form, through the use of AJAX, it returns the expected response in JSON format under the button to send the form! What I want to know is if the...
asked by 17.09.2018 / 21:30
2
answers

How to save columns of an HTML table in an array?

I have a little problem with a project that I'm working on. It turns out that I need to capture the data from an html table that the user creates dynamically and when I click on "Save data" I need to save them in an array This is my table:...
asked by 11.10.2018 / 14:51
2
answers

save data ajax in array

I have the following code where when pressing an Item of the table I make a query in Ajax this returns a result a list of item. I am declaring a Array() to be able to save this list in the. $('#table tbody tr> td').click(...
asked by 12.10.2018 / 15:51
1
answer

DATATABLE DOES NOT SHOW BUTTONS

I AM USING DATATABLE FOR MY DESIGN BUT I HAVE A PROBLEM WITH THE EXPORT BUTTONS, THEY ARE NOT VISUALIZED, MY JS IS $(document).ready(function () { $('#listaDocumentos').DataTable(); }); var table = $('#listaDocumentos').DataTable({...
asked by 23.10.2018 / 18:15
1
answer

how to get the value from ajax to php?

$(document).ready(function(){ $('#estados_visa').on('change', function(){ var distritos= $('#estados_visa').val(); console.log(distritos) $.ajax({ type:'POST', url: 'cargar_distritos.php',...
asked by 24.10.2018 / 23:31
2
answers

Send id to script by ajax depending on the button that is chosen

I am trying to send emails to certain people depending on the button that is chosen, the table in the interface consists of two fields, the name of the person and the button that is going to send the mail when you click. This table is built b...
asked by 17.08.2018 / 00:08
2
answers

Clean Inputs and TextArea of a form in a Modal of Bootstrap

The code of the table with the buttons is as follows: <table class="table table-striped"> <thead> <tr> <th>Fecha</th> <th>Título</th> <th>Estado</th>...
asked by 27.10.2018 / 18:26
2
answers

Blocking when using AJAX making multiple queries to MySQL

I could not determine a good title for my problem but it is the following one, I am doing a small page to make queries to a database, the idea is that while the user writes in an input the results are shown in a table , for that I am implemented...
asked by 28.08.2018 / 17:52