With the function below, it goes through dates from and to, through a calendar.
I need to click on the 'until' input to get the 'from' input date to inform the minDate.
How I'm doing it:
minDate: $ ("# from" + x) .val ().
.. it does not work...
Good afternoon, I'm trying to fill a table with JSON, the table is class footable, but I do not see the data in the table, this is my code:
$('#tUsuarios').footable({
rows:[{"Email":"[email protected]","PrimerNombre":"Andres","Rol":"Ad...
I am developing a project in which I have to migrate from Openlayers to leaflet and I have a question about the interactions since in Openlayers they can be defined with different Properties such as:
var obCreationInteraction = new ol.inte...
How about?
I would not be validating that the phone has less than 8 characters
I tried to do it with onblur but it bugea when I put email
I also tried with onsubmit (which would be ideal directly) but still doing nothing
Any suggestions are wel...
I would like to apply styles using html elements created with php, try giving it an id but it has a not very correct function as for example I can not modify the width or height
function loginbutton($buttonstyle = "square") {
$button['rect...
I have the following piece of code that what it does is get the value of column 0 of all the selected rows of the datatable and display them in an alert:
var dataArr = [];
$.each($("#tablaDatos tr.selected"),function(){ //get each tr which has...
I am trying to do my first web application and I have a problem with a call from a menu item to the login form. What I have is the following:
- An index.html file has a series of buttons and each of them executes a JS function
- The JS functions...
My error is as follows:
I have a modal window that works, that window has the following code:
$(document).ready(function () {
$('.accesori').click(function () {
var id = this.getAttribute('id');
//alert(id);
$.get(...
I have three input (cost, utility, price) and I want to do the following: if you write in cost and in utility that the price is calculated, in case it is written in cost and in price that the utility is calculated. This is my javascript code:...
I am dynamically entering an iframe on a div, and have to load an HTTP content with a local path ( link .). This is the function.
function pasteIframe() {
let ifrm = document.createElement('iframe');
ifrm.setAttribute('src', 'http://1...