Questions tagged as 'javascript'

3
answers

Variable error is not defined

I have a form and when I run the event onclick gives error, it says that the variable is not defined. This is the button: document.getElementById("btnSend").addEventListener("click", function myFunction() { var first_name=...
asked by 30.10.2018 / 15:47
2
answers

Restrictions on an input of type date

I am new to Javascript, and I can not find a way for the user to only select dates +2 days of the current day, and that Saturday and Sunday are not available. The only thing I found was how to give maximum and minimum dates Does anyone know h...
asked by 04.11.2018 / 03:53
1
answer

Check only the visible checkboxes

I have the following code in javascript where I select the checkboxes in a table function checkAll(ele) { //Obtener todos los checkbox que estan visibles; var checkboxes = $(':checkbox:visible'); var celdas = $('#table tbody >...
asked by 18.10.2018 / 22:31
1
answer

Problem with slideToggle

The problem is that when I want to put myself in the search bar I hide again and I do not know how to make it stay when I'm on top of it. <div style="display: none;" class="input-group mb-3" id="barra"> <input type="text" clas...
asked by 22.10.2018 / 09:43
3
answers

Convert string to number, does not work for a large number? [duplicate]

I have the following string to convert from string to number: 42092537170271621 and it does not convert me as such, see the results: Number('42092537170271621') -> 4209253717027162 parseInt('42092537170271621')->42092537170271624 parse...
asked by 17.10.2018 / 17:56
3
answers

Help with dynamic table

I'm having a drawback of handling tables. I need to show data from two tables, which I already have stored in the database, the first is services, it shows the existing services and when I click on one of these services I need you to show me ano...
asked by 20.10.2018 / 02:38
1
answer

Triqui game [closed]

I have a Triqui game, the problem is when one of the two wins, the game continues. I need that as soon as one wins, it stops until the reset button is given. Here the code: HTML <!DOCTYPE html> <html> <head> <meta h...
asked by 11.10.2018 / 05:09
1
answer

Firebase Hosting with Vue.js

I have a problem with Firebase Hosting when uploading my Vue.js project that connects with firebase The architecture of the files is as follows. and the file firebase.json is the following or in code { "hosting": {...
asked by 12.09.2018 / 02:41
1
answer

How to close a page with javascript when clicking on the main closure

I am currently creating a page in html, but I would like you to click on the main button to close a window, I mean ... and that I get a popup window with a message of caution ... I found that they do with javascript but with a button or...
asked by 10.09.2018 / 22:21
2
answers

Get the labels of a JSON

I'm doing a API that receives a JSON and I need to get which tags are inside that JSON . This is an example of JSON : [{ "Notification": [{ "Channel": 4, "Type": 1, "Means": [{ "Number": 8888888...
asked by 11.09.2018 / 23:19