I have the following table, the part of the buttons when pressing them, they consult a data and the table is repainted with the data, what I need is that if the data of the query does not exist, I can enter the amount manually.
And I thought I would do it in a modal but I do not know how to send it to call.
$n_f1_1 = function(){
console.log(arguments[0]);
console.log(arguments[1]);
$.post("pages/reporte/nuevo/post/nutriente/f1_n.php", {ID: arguments[0],ID_NUTRIENTE: arguments[1]}, function(mensaje) {
$("#T").html(mensaje);
});
$('#paso3').load('pages/reporte/nuevo/post/nutriente/refrsh_table.php');
};
This is the function with which the table is uploaded and refreshed. Thanks for the support