Questions tagged as 'javascript'

0
answers

Ionic + Firebase: Error: Uncaught (in promise): [object Object]

I'm new to ionic and I'm facing a problem, I have this application that works with camera / gallery, and I believe the error is in the .ts file and here's the code: save(animal) { this.dbService.save(animal).then( response =>...
asked by 18.11.2018 / 01:43
1
answer

How to make a submit that zeroes a counter

I do not understand javascript and not to know how to search to make a button that when tight zerosse my counter which is a global variable <form id="btn" method="get"> <input type="submit" name="submit" value="zerar"onclick="submit()...
asked by 17.11.2018 / 21:12
1
answer

Function does not arrive at the endpoint - Ionic 3 + API NodeJS

In an app in Ionic 3 I have this function validateCupom () which when called sends a GET to, in case it has return 200 (OK), then calls the other function setConfig (). Belowisthefunctionthatneedstobecalledifthefirstonesucceeds. Attheend,the...
asked by 18.11.2018 / 08:57
1
answer

how to connect javascript to webservice?

After days and days of research, I come to call on all of you to save my semester. What I want is very simple: connect my javascript front-end with my web service REST in java. Just as test, I created a GET method that returns all elements...
asked by 16.11.2018 / 21:47
1
answer

How to change table row color based on the value of a cell?

I need to make the table row change to a particular color based on the value contained within the 'td' tag. All the functions I have found so far have not been useful to me since I tried to implement it in my code and I did not succeed....
asked by 05.07.2017 / 16:41
0
answers

Make google-charts bar preview start from scratch

I have a chart of google charts in the system that may be reset, if it is reset I need to start from 0, but I can not configure it, I tried to use viewWindow.min , but it does not work. documentation does not cite anything about it....
asked by 27.11.2018 / 14:40
0
answers

Changing a CSS class by JavaScript

I have this class in my CSS: .botao-localizacao{ display: block; } It does not exist in my html, only in CSS. So, my question is: how do I change it in my javascript / jquery? EX: .botao-localizacao{ display: none; } I wa...
asked by 27.11.2018 / 14:47
0
answers

Get Facebook profile name when clicking on a link

I need to release a link to a Landing Page on facebook, but I would like to register the name of the people who clicked on the link. I wonder if there is some way to get this information by some token / parameter. Receiving this information,...
asked by 21.11.2018 / 14:23
0
answers

Passing the character limit the text field

I have a combo "Type Person" with the options (1 - Physics | 2 - Legal) and I need to limit the size of standard characters to fill in the text field "CPF / CNPJ". In fact, I need to validate the text field for when selecting the combo type p...
asked by 21.11.2018 / 14:00
0
answers

Error: Server returned HTTP code: 404

Good morning, I'm trying to connect the Earth Engine API to my server, but I'm encountering the following error. Error: Server returned HTTP code: 404 at Object.ee.data.handleResponse_ (C:\Users\EST\Desktop\express\node_modules\@google\ea...
asked by 21.11.2018 / 12:23