Questions tagged as 'javascript'

0
answers

opener.document is undefined?

Good morning. I have this in form b: function ue_aceptar_reportedesde() { opener.document.formulario.cmbcodtipsol2.value=""; opener.document.formulario.cmbcodtipsol2.disabled=true; close(); } The cmbcodtipsol2 is the id of a...
asked by 25.01.2018 / 15:57
3
answers

Load data in a footable javaScript

Friends I am having the following inconvenience, I try to load the data in a footable, I try to do it in the following way and it does not work for me: $("#status").change(function () { var respuesta=new String();...
asked by 25.01.2018 / 16:00
0
answers

Function ondblclick

I try to perform an ondblclick function with javaScript inside a table, when you double-click on the row of the table a text area is displayed to edit the content, the problem is that as long as little text works wonderfully, when the text is lo...
asked by 29.01.2018 / 16:04
1
answer

validate form and open modal

Good morning what happens is that I am trying to validate the form and that if it is incomplete that I do not open the modal! Who can help me? <script > function validar(form){ if (document.form.numdo...
asked by 29.01.2018 / 16:10
0
answers

how to avoid duplicate email registration PHP 7 - MYSQL-PDO

First of all good day my dear ones, well I have a small problem when developing a registration system since I am using VMC with PHP7 , MYSQL .htaccess and PDO. The problem is that I can not avoid the duplicates of email...
asked by 29.01.2018 / 17:13
0
answers

How to remove part of an array from a daughter window, opener?

I'm new to this, I do not understand why the pop method does not work on a parent window, I see in the console that the elements are deleted but the page should be refreshed, should not it? I do not know how to do this. I have several...
asked by 22.01.2018 / 12:24
1
answer

Loop with php call wait until it finishes executing in each iteration

Dear, I do not know how to solve this, I have a json that I receive from php in the response variable, and what I want is to go through it as I do in the for, and in turn call another php that takes a little while to respond, the The issue is th...
asked by 23.01.2018 / 23:57
2
answers

Problem protecting when defining a requiresAuth in VueRouter firebase

I'm doing a little practice with Vue and Firebase , I have already managed to create users and configure Firebase but I have a problem when restricting routes with VueRouter , with what I have read it should be enough w...
asked by 20.01.2018 / 04:15
1
answer

How to make a random button that a number is 'a prize' and another 'an earthquake' without both values ever matching

Hi, I'm good at this, I do not fall into how to make a button of a prize, another a disaster (earthquake), and it would be from 1 to 5 randomly, it is for a game, both can not be repeated, Let randomly the two buttons never give the same value....
asked by 21.01.2018 / 18:10
1
answer

Doubt with the use of angular interceptor

My question is this using the angular interceptor to send the token in each request to my back-end I see that it makes two requests one without adding the token and another with the token, my question is this is normal since my response effect...
asked by 21.01.2018 / 16:44