Questions tagged as 'javascript'

0
answers

wages and discounts

I have the following onGoogleSpreadsheets.Iwanttoaddallthatanemployeeearnswhosecolumn"COD REND" equals "1" and put the sum in the SUM column. Then I want to discount SOMA from each employee in the "RUB CODE" column only when the rubric is 53 or...
asked by 27.06.2018 / 05:44
1
answer

Problems with href scrolling for content on the same page at lower resolutions

My problem is this. <a href="#saibamais" class="scroll-to"> Saiba Mais </a> <div id="saibamais"></div> $('a.scroll-to').on('click', function (e) { e.preventDefault(); $('html,body').animate({scrollTop: ($($(this)...
asked by 27.06.2018 / 14:14
0
answers

Header with SheetJS

Good afternoon, I'm using SheetJS library to export data from a JSON to an excel sheet. I need to create a formatted header and found nothing similar. My code looks like this: function excelOut(data){ const wb = { SheetNames: [], Sheets: {} }...
asked by 05.07.2018 / 22:41
0
answers

command this Java script [duplicate]

   Quote Hello, I would like to know what the 'this' command is for in the javascript, since it is very used, but I do not know its usefulness!     
asked by 05.07.2018 / 22:08
0
answers

Uploading Sweet Alert

I'm trying to implement the Sweet Alert in my application and I'd like that by clicking Yes the button would be type loading until processing I'm trying to follow this tutorial, but I still do not understand: So here's my code: $...
asked by 05.07.2018 / 21:45
0
answers

what function would be useful for removing xml data with php or js?

I'm doing a system with php, js and xml, with a php form where the user adds events and they are automatically written in xml This is the adda.php $campoTitulo = $_POST['titulo']; $campoLocal = $_POST['local']; $campoData = $_POST['data'];...
asked by 25.06.2018 / 12:34
1
answer

how to remove nodes from an xml file with javascript?

I have an xml document, a script.js and an html page where the following test should occur, I click a button on the page and a function must be executed in the script that removes a group of nodes from the xml file, follows it below FILE.XML...
asked by 29.06.2018 / 05:02
1
answer

sankey highchart - Skipping columns

I'm implementing a Sankey Diagram using the JS Highcharts and I'm trying to put a line that accesses the first column for the third column. Is this possible? For example: link In that case, I'm trying to put a line from Brazil to Germany,...
asked by 29.06.2018 / 08:21
0
answers

Enter text if the field is Null in React

I want to create a function to create a text if the property description field is empty I have following code in react, however this property description value is coming from an API React Code {property.title && <p className=...
asked by 29.06.2018 / 16:58
0
answers

Save data in phppgadmin Bank in React Native

I'm trying to save data in a PostgresSql database phppgadmin, I'm using React Native, and an API in PHP. React code: import React, { Component, Scene} from 'react'; import { Platform, StyleSheet, Text, TextInput, View, Button,...
asked by 07.07.2018 / 19:41