Questions tagged as 'javascript'

1
answer

GoogleUser is not defined - How to solve it?

Hello, I am using google Oauth2 for login and I do not throw anything, I put everything as indicated in your documentation but nothing, run by googleUser console and say that (is not defined) <script> function onSignIn() { /*var...
asked by 01.12.2018 / 04:58
2
answers

Because he shows me value by pressing the table

I have the following method where I get a text field from the table. function save(){ $('#tableDespacho tr').on('click', function(){ //var first = $(this).find('td:first').html(); var area = $(this).find('td:eq(0)').text();...
asked by 13.09.2018 / 15:33
1
answer

Upload backend and frontend together in heroku

I want to upload an application with backend in nodejs and frontend in react without creating 2 projects in heroku. The directories of my application are like this: My Application app - "This folder contains the frontend created with...
asked by 05.12.2018 / 02:50
1
answer

RegExp for URL

Good day! I have a regular expression to get only the part that interests me about a URL. I have 2 types of URL link link For now, I have achieved with this regexp ".*\/(.*\/.+)" get: page/login?execution=s3p1 The issue i...
asked by 04.12.2018 / 10:36
2
answers

Query with JQuery alert-Confirm in Javascript

This is the site from which I occupy custom alerts: link I have a personalized alert which shows me a message whenever a condition is not met. This is the code: function ValidaFecha(e){ var fecha1 = new Date(desde.value);...
asked by 04.12.2018 / 15:38
1
answer

Save the property of a JSON in a Node.js variable

I have this JSON { "user": "user0001", "pass": "pass0001", "toke": "asdqwe1234", "json":[{ "Notification": [{ "Channel": 1, "Type": 1, "Means": [{ "Number": 88888888,...
asked by 24.09.2018 / 16:37
2
answers

Counter in an input with Javascript

How to do so that a new input is added when a button is pressed and it changes the value of an input: For example, if Before evaluations 1 now say Evaluations 2 ?. I explain myself more in detail .. I will have some capture first so you can unde...
asked by 27.09.2018 / 01:48
2
answers

Schedule in JavaScript

I have to generate a list of hours between 10:00 and 19:30 in minutes of 30 minutes with a for loop. (eg 10:00 - 10:30 - 11:00 ......) At the moment I've done it like that but I do not think it's well done. for (var i=10; i<20; i++){...
asked by 28.09.2018 / 11:46
1
answer

Questions and answers Javascript

Trying to make a small trivial in JS, I can not solve the error of the if or the arrays. In this case the correct answer would be b, which implies that typing something else is false. What should I modify in this case? var preguntas= new...
asked by 28.09.2018 / 08:17
2
answers

Problem with table in JavaScript

I have a problem generating a table by JavaScript, in the code that I show below, the rows are generated on the right instead of continuing below to follow the column, the first column and the first row have to have & lt ; 'th' > as a require...
asked by 13.10.2018 / 14:02