Questions tagged as 'javascript'

1
answer

Image does not change when you click on it, only in the text

I have a problem, I have a project with several collapses and to indicate opening and closing of the collapses, I placed an arrow to the right and when clicking on the text, it flips down and the collapse opens, however, own arrow, the collapse...
asked by 29.10.2018 / 15:57
0
answers

Problem with swapping image with jQuery

Well it's like this, I have the following code: <script type="text/javascript"> document.addEventListener("keydown", keyDownPress, false); var valoresDigitados = []; function keyDownPress(e) { var keyCode = e.keyCode;...
asked by 24.10.2018 / 02:54
0
answers

Load information on modal inputs based on the id sent by clicking the link data-id

Using the bootstrap documentation, I made a change from a href to button <button type="button" class="btn-a" data-toggle="modal" data-target="#EditaFoto" data-whatever="<?php echo $row['idfoto']; ?>" data-what...
asked by 24.10.2018 / 14:55
0
answers

I can not draw polygon on Google Maps

I'm trying to make a square with the coordinates, but it does not appear. You do not have any errors in the browser, the map is created normally, only the square does not appear: var map; function initialize() { var latlng = new google.ma...
asked by 24.10.2018 / 01:07
1
answer

How to get the return value of the function

How to get a particular return value from the function. I would like to get the Status value. $.ajax(settings).done(function (response) { console.log(response); }     
asked by 24.10.2018 / 15:44
0
answers

Dynamic radio button is not checked with angle

I have a radio button that is dynamically displayed according to the json below: { "cd_pauta": 64, "nr_numeracao": 10, "cd_subtipo_pauta_periodo_letivo": 1, "ds_observacao": "Mbappe > que Neymar?", "sg_conteudo": "tr...
asked by 23.10.2018 / 21:02
0
answers

How to program this button?

I am with this code and I can not program the [Source] button to the event that shows a bubble at the coordinate point. However, it marks the blue balloon instead of displaying the information. I know the statement is going to the right place bu...
asked by 22.10.2018 / 20:49
1
answer

Transform hexcode "& # x2b;" into "+" in JavaScript

I'm using a payment API that requires the phone numbers entered to be in the E.164 ( +[Código do país][código da cidade][numero de 8~9 dígitos] ) and string (as in the example below). However, when you add the + sign, it is trans...
asked by 30.10.2018 / 18:15
0
answers

Authenticate with OAuth 2.0, Blue Account, Apps Scripts

I'm having a hard time completing the Authenticating process with OAuth 2.0, I found some templates, but I still could not succeed, that's Api link , this is template I need link , because he has to request the authorization and generates the...
asked by 30.10.2018 / 17:17
1
answer

Detect print PopUp opening or a Dowload

I was wondering if anyone knows some way to detect the opening of that default print popup for running a javascript. My problem: I needed to run a script when the user downloaded or printed a PDF that is being displayed to him as follows in...
asked by 30.10.2018 / 20:56