Questions tagged as 'javascript'

1
answer

Display a blob image in JS

I need to display images that are saved in the database (firebird) in Blob and I can not go forward with it. a BD function is returned Thisfunctionisreadbythefunctionbelow.FromnowonIwouldneedtoreturntheimagethrough(res.json)tomyfrontendor...
asked by 27.09.2017 / 23:57
0
answers

Jquery cookie - Show notification only once

I need a notification to appear once the login is done, but when I refresh the page in the browser or F5 , the notification will not be displayed again. Using the cookie, is there any way to do this? Below the code I have Contro...
asked by 27.09.2017 / 13:24
0
answers

Disagree in scope of the [duplicate]

Hello, I'm developing a framework to start developing on node, I'm a beginner so forgive me anything. indexModel.js var Model = require('./model.js'); var model = new Model(); var data; class IndexModel { // Função inicial const...
asked by 28.09.2017 / 19:00
0
answers

VueJS Select Multiple Array Undefined

I have a Rest API that returns me CategoriaList and CategoriaSelected . It is conflicting when I do with Select Multiple on HTML Categories.vue <template> <select multiple class="form-control" v...
asked by 28.09.2017 / 22:32
0
answers

Change color when arriving at a certain number

I'm doing a test here, and when the sensorValor reaches a certain value, as an example I used the 5 it changed the color of the table where it is being written to green, it is currently in red from there higher than 5 the sensorValor fictional i...
asked by 28.09.2017 / 19:24
1
answer

Controller by angular file js [closed]

(function () { 'use strict'; modulo .controller("CarregaCamposController", CarregaCamposController) .service("CarregaCamposService", CarregaCamposService); function CarregaCamposController($scope, CarregaCamp...
asked by 28.09.2017 / 14:23
1
answer

li in alphabetical order

How to do this li list from the smallest date to the largest? <div class="cal1"></div> <? $inicio = date('Y').'-01-01'; $fim = date('Y').'-12-31'; $iniciomes = date('Y-m').'-01'; $fimmes = date('Y-m...
asked by 21.09.2017 / 21:42
0
answers

How do I end this function by clicking the end button?

button block ion-button (click)="getLoc ()" > start button block ion-button (click)="getLoc ()" > Finish When I click the "Start" button, this function takes the current location every 10 seconds, how do I stop collecting the locatio...
asked by 22.09.2017 / 03:41
0
answers

MediaDevices.getUserMedia () [closed]

Someone has some example for audio recording using MediaDevices.getUserMedia()     
asked by 18.10.2017 / 21:53
0
answers

Javascript - Callback control

I'm not sure how to ask that. I do not have much knowledge of JS, but come on ... The system here has an API that adds and manages elements on the screen. For example, just to illustrate: If I put API.adicionar(tipo.CampoTexto, "idNome", posi...
asked by 17.10.2017 / 21:29