Questions tagged as 'javascript'

1
answer

Pass nodejs variable (Express) to Javascript [closed]

Suppose I have a database in mongodb, in which I can store some information with .save () but now, I want to retrieve that information and pass it to the client, for which I use findOne () to acquire the desired data , that data I want to pass t...
asked by 21.12.2018 / 04:00
1
answer

Countdown in page

I've been making a page for a wedding for a few days with a countdown (I want it to be September 22, 2018). The point is that I have not managed to make the countdown work in any way possible. The code is this: <script> var d = new Da...
asked by 19.07.2018 / 10:20
1
answer

how can I do so that I do not get numbers in my script when I retrieve information? MVC C #

The problem is as follows: I am using mvc in visual study, the problem is when I want to retrieve the information within a script which I do with an @foreach, where the information I send has quotes, which are then they change with numbers, whic...
asked by 21.12.2017 / 05:49
2
answers

ReferenceError: $ is not defined in Firefox

The problem is only given to me in Firefox, I get an error: ReferenceError: $ is not defined . I have read that it may be a Firefox certificate problem, but I have not solved it. var count=0; $('#invitado').click(function(){...
asked by 10.12.2017 / 15:50
1
answer

Adapt .PHP file to .HTML to embed Javascript

<?php // Establecer conexión session_start(); require_once "conexion_root.php"; ?> <? // Ejecución de consulta SQL con INNER JOIN $sql = "SELECT * FROM equipos"; if($result = $db_conn-><?query($sql)){ if($res...
asked by 21.12.2017 / 20:27
1
answer

Send email with Firebase Cloud Functions

Literally that's my question, how can I send an email using the functions provided by Firebase? Any kind of information is useful for me since I have not used much Firebase functions, I intend to send a welcome email to a user who has just regis...
asked by 19.12.2018 / 02:02
1
answer

get value of an html tag in javascript

hello everyone would like to know how to take the text you have on a label to later use it in uan avariable  hi apparently with value does not work with .value or .innerHTMl I hope someone helps me with this. greetings     
asked by 09.12.2018 / 23:43
1
answer

Clone Div When Clicked And If It Is Already Cloned When Clicked Again Remove Clone

Good Colleagues, The Truth, I'm New In Jquery And Javascript, I'd appreciate it if you helped me with this problem. I have a series of buttons, the ones that I wish to clone and add a new div, okay, that I already did, the problem the cloned but...
asked by 18.07.2017 / 02:38
2
answers

Return Array in uppercase [duplicate]

If I have: var e = "String"; var f = e.split(''); var d = f; d += f[2].toUpperCase(); /* d + = f[2].toUpperCase().split(''); *///Segundo intento console.log(d.join(''));...
asked by 09.07.2017 / 02:28
1
answer

I can not import model in route typescript

PS: Apart from the info below, here is the source: link The question is, why can not I access "User" which is a model for mongoose from a route? That's how I have the router. As you can see, User gives me an error "Can not fin...
asked by 05.12.2018 / 13:26