I have a problem receiving JSON data from a form connected to a database with fields ( id , nombre , numero ).
The problem arises when I try to edit a table value and save it and it should be updated through XHR.
Could so...
To the user to enter a text or number, how can I capture it and store it in a variable?
I've been testing with:
let captureNumber = document.getElementById("number2").innerHTML;
console.log(captureNumber)
<input type="number"...
I have the following code to get the date.
var f = new Date();
f.getDay();
and when I want to get the day with the getDay() method I get the value 1 but today it is 28.
Reviewing my code, I realized that I have different syntax from document.getelementbyid:
document.getElementById("prcavance").value = value ;
document.getElementById('up_file').disabled = true;
I have it with double quotes and anot...
I have the following data in json that is stored in my data vue js
proveedoresSeleccionados: [{id: 1, texto: "ORSIS S.A.C", check: false },
{id: 2, texto: "ABS S.A.C",check: false },
{id: 2,...
I am using an extension for the jQuery DataTables library that serves to select multiple rows of the datatable and make operations with them. The extension is
jQuery DataTables Checkboxes
link
But I have a problem. I need that aft...
I comment, the matter is as follows;
I'm working with HTML - jQuery and I'm using a script that replaces the dot by comma when I press it
Script
$('input.number').each(function () {
$(this).keypress(function(e){
if(e...
Create a button dynamically with javascript and now I want that when you click on it, a certain function will be executed that with jQuery would be as follows:
$(".elemento").on("load", function() {
// Codigo
});...
I am something new in the world of programming and I have the following question in the following context:
I am developing a web page where one can enter with your user account and make publications, comment on other users' publications, etc....
I have this example of drag and drop but only one element can be added to the input, then if I want to add another one, I will not add it anymore
How can I make it allow me to add more elements to the input?
$(document).ready(function(){...