This is the ajax code: clicking on a button opens that function and saves the id of that button in a variable called id. Then it is assumed that with ajax that id is sent to form.php but I get the following error:
Notice: Undefined index:...
I'm doing a kind of search engine, in which while you press a key, an AJAX request is made to consult it in the DB. The point is that I still do not know much about AJAX and it does not work for me. At the moment I am testing with any text inste...
I try to do a mini project to practice the use of the fetch (), the idea is to make a search engine which consists of typing a data in an input, when typing it will show information that contains part of that data entered. The thing is that I ha...
I need to clear the following doubt. I want to make 2 ajax requests, the problem is that I make the request 1 (I get a data) and I need to pass that data to the request 2. I have done the following:
I create an ajax (jquery) and I get the da...
I have the following code that shows without any problem a table of records generated from a json array.
$.each(query, function (name, value) {
fileTable +="<tr><td width='10%'><input type='text' name='fechaAsignacion' id='f...
I am writing a system that should update two divs, as much as possible, in real time.
The way I found it is as follows, using AJAX:
function actualizarDatos(){
$.ajax({
type: 'POST',
cache: false,
async:true,
url: 'l...
I would like to reload a DataTable after the confirmation of a modal and thus add or remove some checkboxes, but every time I do it, another table is generated on top of the other, and the Datatable is unconfigured. (I am using this after the c...
Good morning.
Someone will know by chance how I can show only the current profile image with PHP
Currently I have this like this:
$path = "files/".$id;
if(file_exists($path)){
$directorio = opendir($path);
while ($archivo = readd...
It happens that I am creating a temporary table, the data that I am registering in the same I will pass them to an array (miArray) in js to be able to send them through AJAX to a PHP and then save them to a database.
Function of Javascript...