Questions tagged as 'javascript'

1
answer

How to authenticate Json with php by passing header

I have the following documentation, I would like to know how to do the authentication, and if possible where I can get study material that has an example to perform such authentication. link BASE URL: All calls from this module must star...
asked by 21.09.2017 / 19:31
1
answer

How to swap images in javascript and html5?

I am putting together a mobile app that detects beacons when activating the bluetooth of the phone, using Evothings, which uses javascript and html5. When I detect the beacons, I need one image to change to give way to the other. Testing by code...
asked by 22.09.2017 / 15:18
3
answers

Run a script once yes and another not

I'm having a hard time creating logic and / or code. I have a landing page that I need in a simple way, preferably without using a database, run a script once and sometimes not. For example: User 1 registers: executeScript () User 2...
asked by 22.09.2017 / 15:42
2
answers

First visit message on the site

I have a system that whenever the client logs in, counts another visit, and on the first visit a welcome message appears. But if the user reloads the page again or changes the tab and returns to the main page, the welcome message appears again....
asked by 13.09.2017 / 18:32
1
answer

How to check equal values of a Foreach

Well I have two forEach . The first one takes the value of a sessionStorage , that is, the ID of the neighborhood registered by the user. The second one returns all registered districts and their respective IDS. I wanted to make t...
asked by 14.09.2017 / 14:39
2
answers

How to execute a jquery script when loading a page

This is my form: <form name="ff"> <select id="type" name="type"> <option value="0">Federal</option> <option value="1">Estadual</option> <option value="2">Municipal</opti...
asked by 13.09.2017 / 23:55
1
answer

"[Violation] Added non-passive event listener to scroll-blocking 'mousewheel' event"

When I try to pass the value of a select to an onChange function, by clicking on the button it gives the following error in the console: [Violation] Added non-passive event listener to scroll-blocking 'mousewheel' event. Consider marking even...
asked by 13.09.2017 / 04:37
1
answer

Jquery add and remove attribute not working

I'm trying to create a way to minimize and maximize a DIV. Minimize works, but maximize does not. What am I doing wrong? $("#chatMinimizar").click(function() { $("#chat").attr("style", "height: 45px;"); $("#chatMinimizar").attr("i...
asked by 25.07.2017 / 23:17
1
answer

Create animation "FadeOut"

The table is created by javascript code, when clicked on an item from another table, but it has no animation. The animation I want to put is "FadeOut". When the table item is clicked, it should appear with the "FadeOut" effect. I tried to use Fa...
asked by 26.07.2017 / 06:17
1
answer

Event on element created after DOM loading

Next: I have a page where requests will be made. In this page, the user chooses the item and can, if wanted, add extra items to this item, for example "more cheese". When I enter this "more cheese", I create a row with two columns in the table o...
asked by 29.07.2017 / 01:39