Questions tagged as 'javascript'

0
answers

how can I send a push event for the service worker to listen to?

I am working with a web app and push notification, I already have the service worker listening to the push event, but for now only when I enter the devtools and I go to the application to send the push manually, how can I make my server send the...
asked by 02.03.2018 / 18:11
0
answers

FormGroup and ReactiveFormModule does not detect a hidden field of my form

Friends of StackOverflow as I do so that in angular 5 and ReactiveForm I detect a field in hidden. This is my code for my component. import { Component, OnInit } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@ang...
asked by 01.03.2018 / 21:54
2
answers

Meaning of error Uncaught TypeError: Can not read property 'ownerDocument' of null [closed]

I have a page that shows a map thanks to the Google Maps API. On the page, the map is shown, but an error appears in the console and I would like to know what it means. places_impl.js:42 Uncaught TypeError: Cannot read property 'ownerDocument...
asked by 01.03.2018 / 22:39
0
answers

stock restriction with jquery Mask

I am trying to restrict an input of type text that only allows me to place the numbers 1, 2, 3 with the librerya of jquery Mask I put it in this way but it allows me to place the 0 and $('.descripcion_situacion').setMask({mask:'4'}); Create...
asked by 01.03.2018 / 15:42
0
answers

Collision with obstacle does not work

Hello, two good questions: 1. It does not work when the rover goes over an obstacle, I do not know why 2. How would you create the obstacles in a more efficient way and not manually? Greetings var myGrid = [ [0, 1, 2, 3, 4, 5, 6, 7, 8...
asked by 01.03.2018 / 15:47
1
answer

Required property dependent on another field

I am new with the html and javascript theme, I have a query about how I could do so that depending on the value of a select & lt ;, the other property is activated in another select, I attach the two select in question, if the select 1 has the v...
asked by 03.03.2018 / 15:41
1
answer

JAVASCRIPT- How do I accumulate data-price tags when I click Product1 or Product2?

<!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <script> function IndicarDistancia(laId){//Crear una referencia del elemento HTML con la id que se pasa por parámetro var miDiv=document.getElementB...
asked by 03.03.2018 / 12:41
1
answer

get the elements of a row and show on a separate page in javascript, php, html

function detalle(item_id){ } <thead> <tr> <th>Código</th> <th>Nombre</th> <th>Fabricante</th> <th>Tip...
asked by 27.02.2018 / 19:47
0
answers

Pass more than two data in laravel and highcharts

I'm running a query by laravel to bring me an average consumption, and the months according to the parameter that I'm sending that is the year, to show them in highcharts shows me but I want you to show me the sum of the initial number , is ther...
asked by 01.03.2018 / 16:16
0
answers

use event click to show html pages in a section

Requesting your help to verify my code and create a website with HTML5 and CSS3, trying to click on a menu text to update a "section" with a different web page but at the time it runs the click event does not perform any action; Javascript has b...
asked by 01.03.2018 / 17:02