Questions tagged as 'javascript'

0
answers

Save cookie when clicking inside a DIV [duplicate]

I have a DIV, in it goes ads .. and I want you to create a cookie of 2 days .. That is, Before loading the page it verifies if it has already clicked some place of the DIV in the last 2 days, if already it clicked it something else appears ins...
asked by 16.10.2018 / 02:05
0
answers

Link selected when changing slider

Good afternoon, I need help, I'm new to Javascript, Jquery, etc. I'm developing a project and created a part with Owl Carousel 2 where the Slider changes as I click on the alphabet links. When you click on the alphabet link, the slider change...
asked by 17.10.2018 / 21:27
0
answers

Searching and selecting clients with the search bar - Ionic

I type a client in the search bar, it traverses the vector, brings its clients in a list, so far so good. The problem: When I have two clients with the same initial characters , it brings to the search field (ALWAYS) the last element of the...
asked by 15.10.2018 / 20:34
0
answers

Scroll go straight to the next session of the page - vanilla JS

I have some sections in the site, I would like that when capturing the scroll, the site went straight to the next / previous section. As sections are 100vh, I get the height dimension of the device screen and each scroll up or down this value (a...
asked by 09.10.2018 / 16:47
1
answer

How to interpret react Native error messages

How do I interpret error messages like this? How much work with react Native throughout the tests always I come across these mensgans. I just do not always know how to treat them. Someone knows if it has a pattern that I can follow, some s...
asked by 10.10.2018 / 15:32
2
answers

How to handle Front of another Window with JS

I've been researching until I get tired ... what I'd like to do was something like: var janela = window.open( "https://www.google.com/", "_blank" ); var pesquisa = janela.document.getElementById("lst-ib"); pesquisa.value = "string que...
asked by 11.10.2018 / 18:16
0
answers

How to use socket.io within a control that is injected by the consign?

I have my file server.js : const express = require( 'express' ); const expressValidator = require( 'express-validator' ); const expressSession = require( 'express-session' ); const consign = require( 'consign' ); const bodyParser = requi...
asked by 10.10.2018 / 14:39
0
answers

Requires client-side

Good morning. In the company where I work, there is a kind of client-side requirement to import npm without it existing on the page. It is used for inserting form scripts into the page. The code looks like this: require(['jquery'], function...
asked by 19.11.2018 / 14:00
0
answers

How to structure the database in Firebase

I am somewhat of a layman in NoSql, and I have a question about performace in my Firebase database, it is currently organized as follows As you can see the reference for the student and the product that are in the Sale are their respective...
asked by 20.11.2018 / 05:51
0
answers

How to change public policy of only one file in minio.io

I'm running local minio.io through docker. I have the following structure. Bucket: private path: private / contract / files: contract1.jpeg contract2.jpeg individual path: private / contract / contract1.jpeg I need to...
asked by 21.11.2018 / 13:29