Questions tagged as 'html'

1
answer

get input value for minDate

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...
asked by 17.01.2018 / 00:22
0
answers

Fill footable table with JSON

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...
asked by 12.01.2018 / 22:08
0
answers

Interactions on Leaflet

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...
asked by 24.01.2018 / 14:49
1
answer

Validate the length of an input with Javascript [closed]

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...
asked by 13.01.2018 / 03:39
0
answers

styles from php script?

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...
asked by 13.01.2018 / 19:03
1
answer

Problem in obtaining the value of all the rows of a jquery datatable

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...
asked by 15.01.2018 / 13:46
1
answer

Open a modal login form with javascript from a different html file

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...
asked by 14.01.2018 / 09:18
2
answers

TypeError: $ (...) .dialog is not a function

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(...
asked by 12.01.2018 / 12:10
1
answer

calculate input value with two others, depending on the two that are filled in first one of the input is calculated?

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:...
asked by 17.01.2018 / 21:37
0
answers

Iframe with http and parent with https, rejects the content being the same domain

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...
asked by 15.01.2018 / 15:42