Questions tagged as 'javascript'

0
answers

CHANGE BACKGROUND WITH INPUT TYPE FILE

Good afternoon, I created a program to create commands and I would like to use the imput type File to select an image and leave it as a background for those commands. HTML <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"&...
asked by 12.11.2018 / 15:42
1
answer

TypeError: Can not read property '1' of null

I have this problem and I have no idea how to solve it, I want to save images in Azure storage. const blobSvc = azure.createBlobService(config.containerConnectionString); let filename = guid.raw().toString() + '.jpg'; let rawdata = re...
asked by 12.11.2018 / 17:54
0
answers

Placing script tags on react native

How do I put javascript tags in react native? I have this tag to put into a project <script data-cfasync='false' type='text/javascript' src='link'></script> It's an ad tag. In the browser it works. But I do not know how to...
asked by 12.11.2018 / 17:58
0
answers

(Angular 6) Use of BehaviorSubject to subscribe in localStorage

I'm working with a basic CRUD which should be saved in localStorage , and obviously with all operations working normally (register, delete and update). No problems with this part, I'm working with temporary arrays and only later saving in...
asked by 04.11.2018 / 01:04
0
answers

function inspectdb equivalent no node

Hello! In Django there is a function called inspectdb that maps the entire database by creating file templates model.py. Is there any function or lib equivalent of javascript or node.js?     
asked by 03.11.2018 / 22:49
1
answer

Load from within the partialview js / css

Good morning, insira o código aqui I can not load .js / .css when loading partialview no layout <!DOCTYPE html> <html> <head> ... @RenderSection("header", required: false) </head> <body>...
asked by 04.11.2018 / 15:33
1
answer

The 'this' context of the EventEmitterstring is not attributable to the 'this' method of type Observablestring

I looked at the example in a GitHub repository. The application runs successfully and the written code works fine, but I'm having the following error in my Visual Studio Code:    The 'this' context of type' EventEmitter 'is not assignable to...
asked by 04.11.2018 / 02:25
0
answers

Upload FTP - PHP Progress bar

I have a code ready here, with upload to database and to a local folder that has a progress bar in javascript, however what I wanted was to use this progress bar to upload to a folder in an FTP and also to a database, but I am not able to change...
asked by 05.11.2018 / 13:33
0
answers

Jquery Datatables set width to column does not work with scrollY

I am using the datatables plugin in a modal, where I have a table in it, however if I set a scrollY: to the table, the same modal does not recognize the width of thead, it opens the modal with the width width 0 %, the strange thing is that: by c...
asked by 09.11.2018 / 01:46
0
answers

Child object appears as 'undefined', but an earlier level of the object shows the value

The this.props.usuario.user.guia field is as undefined , but when it is entered in the log the this.props.usuario.user object appears with value. This does not make sense to me. Log code: if (!this.props.usuario.logout)...
asked by 09.11.2018 / 01:42