Questions tagged as 'javascript'

0
answers

How to access a typescript object?

I'm trying to access a database in firestore with this getAlldocuments : getAllDocuments(collection: string): Promise<any> { return new Promise((resolve, reject) => { this.db.collection(collection) .get(...
asked by 06.06.2018 / 16:12
0
answers

Geolocation, permission and Google Maps

I'm programming a site to get the user's location in real time, however I have 3 problems: accuracy permission to use the location (I do not know what event it takes when the user allows you to use your location or deny it, I can not work...
asked by 01.07.2018 / 01:54
0
answers

Put class Active in a dynamic menu with JavaScript

I've created a file menu-controller.js, which is responsible for picking up the menu in my API and generating dynamically in my HTML pages I want to use it. However, I need that, when the user clicks on any menu option, it has the effect of C...
asked by 12.06.2018 / 09:04
1
answer

Customize output path of files converted by gulp markdown it

I was following this step by step , and then there was a need for the markdown files converted to html to be in another folder. See the code for the file gulpfile.js : var gulp = require('gulp'); var markdown = require('gulp-markdow...
asked by 11.06.2018 / 21:08
0
answers

React - Black screen on modal display

Alright? I have a problem with displaying a modal in a component react, it happens that when we click to display the modal view the screen goes dark and ends up locking the browser In the code I have the following excerpts: Menu resp...
asked by 28.06.2018 / 15:49
0
answers

Click event multiplying

I have a directory listing system that displays files and folders, when I click on an item, it displays a (single) menu that is already set on the page and can be used by all files. In this menu, there is an option called DELETE, the problem is...
asked by 07.07.2018 / 19:05
2
answers

HTML preview showing the first element

I made this html preview, it works fine for my purpose however the first element is appearing as text, and this is a bad result, I understand very little of jquery and javascript, I'm starting to study, I'd like to understand the is going wrong....
asked by 07.07.2018 / 23:10
2
answers

Image Preview

I'm doing a preview, and it's happening like this, I want nothing to appear as if there is no image, and only the preview image appears when the user chooses the image. It's getting so before putting the image, however I want it not to have t...
asked by 30.05.2018 / 19:32
0
answers

Industry problem setImageResource

Hello, I have a project that I draw drawable images for a ListView, the problem is that when I run the project does not appear the images seated, can anyone help me to find the error? LAYOUT main_activity <ListView android:id="@+id/l...
asked by 31.05.2018 / 20:22
1
answer

Problem with form + ajax

I made an ajax request to send data from a form to the server, the data is sent and stored perfectly. But when handling success creating the condition if the return return was the 200 or "OK" pattern would send a success message and if n...
asked by 31.05.2018 / 01:33