Questions tagged as 'javascript'

1
answer

GoogleMapsAPI - create markers filter

I'm making a dynamic map using the Google Maps API that uses the markers to signal a list of pre-defined locations, such as: self.locations = [{ name: 'Foxtrot', lat: 38.713905, lng: -9.1518868, type: 'Bar'...
asked by 05.11.2016 / 01:23
4
answers

Cross-browser way to copy text to Clipboard

I'm looking for ways to copy a text to clipboard via JavaScript, which works in most modern browsers, but there's too much information and it seems outdated. I know there is the Clipboard API and that it is partially supported by all (except...
asked by 25.05.2014 / 19:41
2
answers

Problems with modals

I'm using the template in Angular. I need to open a page within a modal, for this I used a code that was suggested by the template support: <script type="text/javascript"> $('#conteudo2').on({ 'show.uk.modal': function () {...
asked by 04.11.2016 / 08:52
0
answers

How to load value from a variable through Ajax

I've done the following in an html file: <script> //transmite as informações var xmlHttp = GetXmlHttpObject(); function show() { if (xmlHttp == null) { alert ("Seu browser não suporta AJAX!");...
asked by 17.11.2016 / 18:15
1
answer

Login to php [closed]

Next, I'm developing a work for the course and I'm creating a login system, it is working when I send it, however every time I enter the page again through localhost it creates a line with blank data and as a result ends using an unnecessary lin...
asked by 17.11.2016 / 20:39
1
answer

Problems with ajax form

Well, I'm having a hard time validating this page in ajax, I believe that the problem is in the php connection file, I searched in many forms but did not want something so complex or with so many validations, just something simple, I'll post the...
asked by 08.10.2016 / 02:28
1
answer

Insert option no select multiple dynamically

Good morning !!! I need that when typing a process number and clicking on the magnifying glass, the process will go to the select multiple box, as shown in the attached image. However I need this process several times and go populate the sele...
asked by 10.10.2016 / 15:29
1
answer

How to override CSS styles without interfering with another previous CSS?

I'm implementing a high-contrast mode, and for that, I'm using the following structure: To call high contrast: <li><a href="#" class="seleciona-estilo" data-classe="classe-azul">MODO ESCURO</a></li> Javascript...
asked by 05.10.2016 / 16:49
2
answers

How to call an ajax inside another?

I need to call another ajax request within a condition. But the outside ajax does not wait for the inside to finish. Example: I use this $.ajax({ type: "GET", url: "MINHA_URL",...
asked by 05.10.2016 / 14:00
1
answer

Open link in another tab when clicking button

I already know how to open in another window, I want when I close it, update my site! Your code is this: <a href="https://www.blogger.com/blogger.g?blogID=811315793714916374#" onclick="window.open('http://bit.ly/loga-se','pagename','resi...
asked by 09.10.2016 / 18:30