Questions tagged as 'ajax'

1
answer

Problem when calling a 3rd html file with ajax and Jquery

I'm trying to call a second file, from another file loaded with ajax + Jquery The main file contains a button, which is listening for an event, that will load the container of an HTML file. The code of the main file is the following: <di...
asked by 04.11.2017 / 01:47
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
2
answers

Problem uploading files to the server

Create a folder named files www.MiServidor.com/Archivos to which you modify the permissions to be able to read, write and modify. I have a form in index.php in which a name of an image and a file are inserted. When sending the form...
asked by 31.10.2017 / 04:37
1
answer

AJAX PHP FORMS [closed]

Hols! I am trying to make a Form that validates the email, it is something simple and even then it does not work for me. it tells me that there is a mistake with the js, I am new using ajax and it still costs me  he says ajax-form.js:28 Uncau...
asked by 30.10.2017 / 08:41
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

Load select element with ajax

I would like to make a query and collect it both in a text box and in a select. I can capture the query in a text box, but not in the select. Index.php <script> function cargar_energia(){ //var n = document.getElementById("nombre")...
asked by 26.10.2017 / 14:40
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
1
answer

Submit when selecting a checkbox

I am trying to put the <script> of this code in a function of type .click() so that the form was sent every time the checkbox is pressed and thus do without the <input type="submit"/> . What the form does i...
asked by 17.10.2017 / 11:00