Questions tagged as 'javascript'

1
answer

Two click to change the item (slider)

I'm practicing a bit of JavaScript and trying to make the bases of a slider I ran into a problem. the problem is this: When I click on the previous or next arrows, the function is not executed at the first click as it happens when you sele...
asked by 28.10.2018 / 02:23
0
answers

Problem with mqttws31.js in Windows-mounted MQTT broker

I am working with MQTT communication for an IOT project. I installed a Mosquitto broker in Windows and everything works ok when I work among subscribers and publishers in Python or via command line between machines of the same local network. For...
asked by 29.10.2018 / 13:48
3
answers

Load Iframe only when clicking

I have a website and I need to create a menu that by clicking on a button opens an html inside the html but I need to load it just by clicking it because it is very heavy for more images and if it loads everything would cost a lot of data to the...
asked by 29.10.2018 / 03:16
2
answers

Select a checkbox in a table

Today I pose the following problem, I have in the view of my website a table with clients that I pull from the database until there everything is fine, at the same time as the clients I have a checkbox select so that when I want upload a file ca...
asked by 29.10.2018 / 17:10
1
answer

Check that the date is correct

I have to check that the date that a user enters is correct. It has to have the pattern dd / mm / yyyy. What I can not do is check that the date is valid (02/30/2008) or (10/33/2018), for example. validDates() { let okey: boolean =...
asked by 24.10.2018 / 14:55
1
answer

like putting buttons to an overflow

I have a div that contains images and has an overflow, it happens that by default the browser gives the scroll bar and I want it to have the buttons forward and back. as I have it: as I want it: How do I add the buttons?...
asked by 13.11.2018 / 00:00
1
answer

Query about the structure of Firebase

Dear, I am developing an account plan and I am using a non-relational database (I hope I have not made a mistake), and I need to make it possible to create an account plan with firebase. In addition to Firebase I'm using Vuejs, but at the moment...
asked by 13.11.2018 / 20:34
3
answers

How to get a value of a li?

I have the following structure: <span class="ErrorViewer"> <menu> <li>El Porcentaje de la prima del contrato es menor que el porcentaje Aprobado por la GERENTE </li> </menu> I would like to show an aler...
asked by 23.06.2016 / 22:24
0
answers

const declaration javascript

Hi, I am using jimp for image manipulation and it works well on a PC with Ubuntu, now I want to install it on another machine but an error appears when executing it apparently from jimp the jimp code showing error 'use strict'; const toByte...
asked by 12.10.2018 / 20:02
1
answer

Compare two dates with YYYY-mm-dd format in javascript

I'm in trouble with a little comparison of dates, I need to compare two dates in the format "2018-10-05" to be able to call a function or do calculations, I was reading and I'm really complicating my life, someone could give me Help? I read them...
asked by 11.10.2018 / 21:36