Questions tagged as 'javascript'

2
answers

How to trace routes to gmaps with shapes / polygons

I'll need to manipulate a map (preferably gmaps) containing the mesoregions of each state. I found a map of mesoregions created from gmaps , but it does not allow me interactions like creating routes, etc. How to merge the two features into...
asked by 15.02.2016 / 21:43
3
answers

Default date format brazil does not work in bootstrap

I have this bootstrap datepicker component <div class="col-md-2"> <input id="dataSolicitacao" type="text" name="timepicker" class="b-datepicker form-control form-white" placeholder="Informe a data" data-orientation="top"> </di...
asked by 01.04.2016 / 13:15
1
answer

Send multiple values from my CheckBox to an Ajax call

I have a button that when I click calls my ajax function. I want to send the values that were selected in my checkBox. But what comes to my controller is just the first value of my CheckBox.    Sunday And you should send all values selecte...
asked by 15.04.2016 / 13:04
1
answer

Problem Retrieving User's GeoLocalization

I'm having trouble retrieving the user's geolocation on the site. Localhost works, but no network. I'm finding that the problem is that it does not have SSL certificate and the site is accessed by HTTP and not HTTPS. See the error:    get...
asked by 09.05.2016 / 14:45
1
answer

Is the 'window' rendered by the gift or does it come before that?

A curiosity: I wonder if the window is rendered by dom when loading the window, since the document is usually window.document.html . Or does dom come after this parameter?     
asked by 13.04.2016 / 15:37
1
answer

How to redirect to the login page after a certain idle time in PHP?

As the title of the question says, I would like it at a set time where the user is idle, so the system will destroy the session and automatically redirect to the login page. I know that php has the function session_cache_expire () ( link ). Howe...
asked by 03.05.2016 / 22:34
1
answer

Application without back end

I'm doing a gadget here in the company, where it consumes an API that uses JWT authentication (login done with email and password) ... As everything I've done so far has been with PHP, I'm a bit afraid of security issues because the applicati...
asked by 06.09.2018 / 21:05
1
answer

Auto Fill Input on another browser tab via script

Is there a script that sends the value of my input to the page input I open? As the example below shows, I need to send the value "12345" to the XYZ page input as soon as I click on the link to open it, to speed up the search by code. My s...
asked by 06.09.2018 / 15:40
1
answer

How to make module configuration available correctly?

I'm creating a Node.js module and wanted to make use settings available. Let's say I wanted to provide a prefix for console.log just as an example: let opcoes = {}; function imprimir(texto) { console.log(opcoes.prefixo, texto)...
asked by 06.08.2018 / 15:52
2
answers

Refresh Div HTML PHP Javascript

I'm having some problems updating a div without updating the entire page. Here is the code: <div class="main" align="justify"> <div id="mensagens"> <?php echo file_get_contents('arquivo.txt'); ?> </div&...
asked by 19.11.2015 / 22:33