Questions tagged as 'javascript'

1
answer

when entering the date and time in an issue it appears out of sync with the local time (only the time)

<?php session_start(); if (!isset($_SESSION['email'])) { header('Location: index.php'); } $fecha = date("Y-m-d H:i:s"); ?> <!DOCTYPE HTML> <html> <head> <title>ENCUESLAB</title> <...
asked by 16.10.2018 / 17:30
1
answer

HIDE A DIV IF A VALUE FROM DB IS NOT OBTAINED IN JS

The following code obtains information from a database and stores it in a respective div of a modal and then displays it on the screen: eventClick:function(calEvent,jsEvent,view){ $('#titulo').html(calEvent.title); Fech...
asked by 04.10.2018 / 13:24
0
answers

Send user log to a table using a php button

Good morning! I have a button in php like this echo CHtml::button(Yii::t('site', 'Help (F2)'), array('id' => 'run_example')); Which performs a function of js in the following way $("#run_example").click(function(){ Sideshow.sta...
asked by 04.10.2018 / 15:26
0
answers

Download to memory from Firebase

How can it be downloaded to memory (in a FILE type variable) using a file in Firebase Storage? more specifically; I need to create a thumbnail of an image that is already saved, that thumbnail is loaded in the storage in the same way as the orig...
asked by 05.10.2018 / 06:57
0
answers

Highcharts export dateformat

Using highcharts v6.1.4 I can export without problems but I can not find a way to format the date that I transfer to my cvs, xls and table, they appear in format with unixtime example numbers: 1538917920000;19,3 1538917980000;19,5 153891804000...
asked by 08.10.2018 / 16:37
0
answers

How to use a model in another model in mongoose | Node.js with Mongoose

I'm doing a task application with node.js, express and mongoDB, the fact is that I'm trying to use my data from my model called User in my model called Task, my schema User has a field called tasks which is an array where all the tasks go, then...
asked by 08.10.2018 / 15:52
0
answers

Does not update javascript file

I have a VPS and a web application and I am given these 2 cases: 1º Entering by ip = > xx.xx.xx.xx / myapp = > I see the updated file updated js 2º Entering by domain = > www.mydomain.com/myapp = > I do not see the updated js f...
asked by 08.10.2018 / 14:38
0
answers

Voice to JavaScript Text using Annyang

I am putting together a project in which the site is based all over the Annyang library using this library, choosing to speak by microphone and this will execute commands. I have my current javascript code <script> "use strict"; i...
asked by 04.10.2018 / 21:40
0
answers

How to Create APIRest With Go and ECHO Framework?

I am trying to do a APIRest with the framework ECHO for the language GO , but I find the following difficulty, what I want is to make a request fetch with javascript , in where I send in the header of an i...
asked by 08.10.2018 / 21:54
1
answer

Disable button and select in a modal

I have a problem I have a function which fills the fields of a modal what I want is that when $('#estatus').val(d[7]); is equal to 0 and 1 the select is enabled $('#estatus').val(d[7]); and button update data and when it is...
asked by 10.10.2018 / 16:10