Questions tagged as 'javascript'

0
answers

Send string to spreadsheet via email

Hello, I have a spreadsheet in GoogleDocs, which sends an email alert to the user via script when the deadline for a task is expiring. I would like the user, upon receiving this message, to have the option of clicking a button or link to stop re...
asked by 07.06.2018 / 21:42
1
answer

Doubts with timer

I have the following doubt, I have a countdown timer, and for example, I click the button, the button becomes invisible and the timer starts, my problem is that when I change the page and return it the button is active and I only want the active...
asked by 22.05.2018 / 11:05
2
answers

Scope of Literal Objects - JavaScript

I was doing some tests here, and I noticed a difference in this within literal objects: obj = { context: this, showContext: function(){ return this } } If I do pessoa.context the this will point to the object...
asked by 21.05.2018 / 14:17
1
answer

Send data to different pages in a form

Good afternoon, I have a form that needs to do 2 different actions, 1 of them is to do an update on a php page with name update.php and another to delete with name delete.php, I need depending on the option clicked the form send to update or del...
asked by 20.05.2018 / 21:58
0
answers

Auto Complete of chrome fills in wrong fields

I have a WEB application that queries dynamically using SQL. After the chrome update, all system inputs are coming with the user name already filled in. Example: value = 'SUPERVISOR' and value should be blank. Does anyone know how t...
asked by 22.05.2018 / 16:41
0
answers

How to return the value inside a function? [duplicate]

The best way to do a% $('random-button').click(function(){ console.log(moveFile()); }); function moveFile(fileID, newFolderID, currentFolder){ gapi.client.drive.files.update({ 'fileId': fileID, 'addParents': n...
asked by 19.05.2018 / 20:28
0
answers

Load component dynamically with angle 6

I need to load components dynamically, I am using jsPanel to create a window and would like to pass which module will be created inside this window. It is possible to do this, below code snippet, openWindow is called from a button, my-component...
asked by 20.05.2018 / 15:26
0
answers

script to enter formula

Well, I've booted a script to check if a column contains a formula, and if it does not contain it, it inserts it. I'm doing this because every time I fill out a form, the formula that was before in the cell disappears. Soon, the script will run...
asked by 19.05.2018 / 23:35
0
answers

ERROR in inclusion Google_Service_Calendar_Event

I need to use Google Calendar for events, but when I test the error on line 40. <?php // Refer to the PHP quickstart on how to setup the environment: // https://developers.google.com/calendar/quickstart/php // Change the scope to Google_Ser...
asked by 17.05.2018 / 22:14
1
answer

Error in code on canvas

I'm using a jsfiddle code ( link ) to create lines, through the canvas (over a map, to make a route) - I'm really started programming! The canv is there, the lines appear and work, but this error always appears, which increases all the time....
asked by 18.05.2018 / 01:30