Questions tagged as 'javascript'

1
answer

Id in Html variable

I'm having a problem with a label, I want to change the id (that varies by number depending on the table that belongs) and on the line: document.getElementById('labelUsuario').id = "" + numeroMesa + ""; I get the following error: angular....
asked by 05.10.2017 / 13:16
1
answer

Management of "Enum" in javascript? [closed]

I'm developing something in JS and I need to sort data as static variables in remember a way to do this in java with the Enum , the thing I investigate is that there are no enum in js (?), so try to create an object var baseValue = { kb...
asked by 03.10.2017 / 17:17
2
answers

Collect value of multiple select with jquery

I have a multiple select from which I need to check the value with jquery. I need to know how to pick up the value of that select, because if it's empty it returns this: But putting it in a if ([] === $("#comercial_lista_calc").val()...
asked by 21.05.2018 / 16:14
1
answer

Create polygon layer in google maps api js

Good morning, I have the following coordinates:    -90.833910,13.994037 -90.833918,13.994095 -90.833924,13.994152 -90.833930,13.994207 -90.833936,13.994263 -90.833943,13.994322 -90.833951,13.994382 -90.833959,13.994440 -90.833965,13.994494 -9...
asked by 07.09.2017 / 19:34
1
answer

link an iframe with an HTML form

I'm wanting to show a website inside an entry in wordpress, which is inside an iframe, which I want you to do a form but not link them so that the form makes its function within the iframe's website, look my code. <p> <ifra...
asked by 08.09.2017 / 06:56
2
answers

How are youtube actions controlled using javascript?

What I want to do is that when I click on the close button of my modal, it stops me the video that is playing, for the moment the video remains playing in my website, currently it I'm trying this way: Youtube Object <center> <objec...
asked by 30.08.2017 / 05:22
1
answer

How can I read the contents of a PDF and export it to .txt?

I explain what I have, I have this application that does something similar to link the difference is that it reads a .txt file and processes the text . Up there all right, now I would like to do the same with a PDF but when I show the content...
asked by 16.08.2017 / 00:27
2
answers

Can the value of a PHP variable be set as id?

My problem is as follows: I assigned an id to my button that contains the value of a PHP query. Here the code: <input type="text" name="Articulo" id="Articulo" value="1"/> <input type="number" name="quanti" id="quanti" class="form...
asked by 17.08.2017 / 22:04
1
answer

Access children of an iframe from the father of this

I have a web which loads a certain iframe, depending on the user wants to access one section or another through the father menu of this iframe. For everything to work I have to access the elements of said iframe from the father. The problem i...
asked by 18.08.2017 / 20:02
1
answer

ERROR (1): User denied Geolocation

Apparently the problem is because Chrome blocks the user's location queries that are not safe, so I posted a question in Meta SE. In stack snippet I am testing the code of link When I run it, the stack snippet console shows me    W...
asked by 24.06.2017 / 20:41