Questions tagged as 'jquery'

1
answer

Failed to load resource: the server responded with a status of 500 Internal server error

function addRow(data) { var tabla = $("#tbl_temas").DataTable(); for (var i = 0; i < data.length; i++) { tabla.fnAddData([ data[i].idTema, data[i].idAdministrador, data[i].tituloTema,...
asked by 06.11.2017 / 08:12
1
answer

ajax function that returns a [duplicate] value

function appelTeams(team, ligue) { $.ajax({ type: 'GET', url: team, dataType: 'json', headers: {"X-AUTH-TOKEN" : 'f6b3ae25342242f8b76a233c4c781686'}, success: function(teams) { $("#ligue")...
asked by 30.11.2017 / 10:32
3
answers

do not pass variables to me from ajax to php?

$.ajax({ url: 'functions/envio.php', type: 'GET', data: {nom:$("#firstname").val()} }); alert($("#firstname").val()); $(location).attr('href','checkout2.php'); } in the php $_SESSION['nombre']=$_GET['nom']...
asked by 29.10.2017 / 18:42
2
answers

How can I remove the items from the list by clicking on the x?

I have a list with the header to do whose elements I can pass to the list that has the header Done: It works correctly for me to move the elements from one list to the other, but I'm not sure how I can eliminate the item from the list that I...
asked by 13.11.2017 / 02:57
1
answer

Select2 does not work in DataTable

Good, I have a DataTable in which several buttons with manners, in those manners I have several <select> with its select2, these work correctly, but when I want to use the same class of one of those select2 to do another dropdown in...
asked by 13.11.2017 / 12:39
2
answers

Fill fields from a Select with a database

Greetings, I'm doing an Autocomplete with PHP , Ajax and JQuery populated by a database in SQL that constantly changes of registers and with the options of that Select I have to fill several text fields of a form that may or may not be mo...
asked by 13.11.2017 / 19:30
1
answer

Save X number of data in an array

I want to save the data of the inputs in an array, and by pressing the boton agregar put them in a table and so x number of data you want to add, once you have the entire list that when you press boton de Guardar datos...
asked by 26.10.2017 / 19:57
1
answer

Does anyone know how to fill a Pie Graphics from a driver?

I have been searching the internet for a way to fill the data from a controller, the code is programmed in ASP.NET MVC 5 RAZOR. I show you the code below: VIEW <script type="text/javascript" src="https://www.gstatic.com/charts/loader....
asked by 26.10.2017 / 23:33
1
answer

How to add two dates of type date with jquey

I have an input of type date, what I want is for you to take that date and add 30 days to another input date Actually I searched a lot and I have not found the solution <input type="Date" id="FechaI" class="form-control" name="FechaI"...
asked by 27.10.2017 / 00:23
1
answer

How to keep selected a nested combobox data when reloading the page?

Hello everyone, I would like to know if it is possible to keep a data of a nested combobox selected and that at the same time this data that is selected to send the other data automatically, it is necessary to say that I already have the nested...
asked by 26.10.2017 / 22:06