Questions tagged as 'javascript'

1
answer

Generate PDF from a Google Spreadsheet

I would like to know how I generate a spreadsheet from a spreadsheet in google . I already have a script done, to send emails every day, with information, however, I would like these emails to be downloaded as .PDF , how can I do thi...
asked by 09.12.2016 / 18:11
0
answers

Icons disappear when zoomed in on google map

I have an application in PHP, via JS I inserted in the Google map some icons, where I am hovering over the addresses that are in a list is zooming in the map, however when repeating the zoom in / out the icons disappear Has this ever happ...
asked by 09.12.2016 / 20:35
2
answers

I can not clean list of li elements that is generated dynamically

I have a dynamic list generation, so I'm adding li through input text . I have a button to clear all the entries of li and this is his code: function removeTudo() { listaCompleta = document.querySelector("#listaCompl...
asked by 15.12.2016 / 23:09
0
answers

Return of promise

Considering the example below: function retornaValor (){ return promiseQueveioDeAlgumaLib.then( function(oQueQueroRetornar){ return { sucesso: true, data : oQueQueroRetornar } }, function(opsAlgoErrado...
asked by 16.12.2016 / 19:48
1
answer

Select filled via ajax when selecting value from another select sending null to php

I have a select that populates another select via ajax, all values are filled correctly, however when saving, it sends null. First select: <select name="clientesel" class="form-control js-example-basic-multiple" id="clientesel" >...
asked by 21.12.2016 / 18:17
0
answers

Delete table rows

I have table with a list of registered debtors I want to exclude him if he pays. With a base I was able to create the function and everything, but when I refresh the page, it comes back. <!-- FAZ A FUNÇÃO DE SALVAR OS DADOS -->...
asked by 21.12.2016 / 16:32
0
answers

Login with Ionic and PHP / Mysql API

I'm developing an application with Ionic v1 whose API is in PHP / Mysql and now need to implement a login system. I already have the platform running from the web, it's a social network. As I'm a beginner in Ionic, I have "stitched" the money...
asked by 17.01.2017 / 01:40
1
answer

How to convert date format to string coming from JSON? (JavaScript MVC C #)

The data looks like this:    Date(-4735141200000) My for: function (dados) { console.log(dados); var len = dados.length; var txt = ""; var toDate; if (len > 0) { for (var i = 0; i < len; i++) {...
asked by 17.01.2017 / 15:46
1
answer

Implemetar Script

Good The script below serves to create a grid of numbered squares. index.php <script> var lastClicked; var grid = clickableGrid(5,22,function(el,row,col,i){ console.log("You clicked on element:",el); console.log("You cli...
asked by 17.01.2017 / 17:13
0
answers

How do I receive and manipulate data coming from the browser? [closed]

My question is regarding communication with the browser. How to do, for example, a program that receives a notification whenever someone comments on your Facebook post? I've seen someone do this, in which they received in the PC console a notic...
asked by 18.01.2017 / 00:38