Questions tagged as 'javascript'

1
answer

How to put a text box in javascript

I would like to know how to put a javascript input box, to be more specific, within a given cell of a table (generated through an array). Right now ... J.G. <!DOCTYPE html> <html lang="pt-br"> <head> <meta charset...
asked by 21.09.2015 / 18:56
1
answer

Login with facebook in javaScript

I'm logging in with fb only with js using facebook sdk. The login part is doing it right, but for some reason it just returns me name and id. Not returning email and other attributes I need. My code <html> <body> <scri...
asked by 23.09.2015 / 15:56
1
answer

Load HTML into DIV received via AJAX request converting special characters

I'm maintaining an application where there is now a need to load an HTML from the database into a div. As for the return of this HTML from the database, it's cool, I already get the values in a JSON and could (possibly) load it into the view, bu...
asked by 24.09.2015 / 16:41
1
answer

How to check what a html / javascript page is loading?

How can I check what my browser is trying to load even after the html / javascript page has already loaded "completely"? The page is: link If they can do a test and see that it delivers the result correctly, but the browser is loading so...
asked by 03.03.2016 / 17:44
1
answer

Location change depending on browser - Google Maps

Recently I started using the Google Maps API, so I know very little about it. When entering the site of my project the browser asks if it can obtain the location of the user. Only I noticed that the location varies depending on the browser. U...
asked by 04.03.2016 / 16:06
2
answers

Mask "minute minute second" in JavaScript

JavaScript below has hh:mm mask. I need a mask in hh:mm:ss format. Does anyone know of a solution, or can you help me adapt the code below? function formatHora(campo, e) { if (!e) return false; car = (window.Event) ?...
asked by 02.03.2016 / 03:58
2
answers

JSON powered by while

I have a graphical counter that is fed by JSON what I wanted to err generate dynamically houses ie having a number of elements stipulated by a variable. Example of what I tried to do: <script type="text/javascript"> // Get the context...
asked by 07.01.2016 / 14:28
1
answer

POPUP appears only once per user - Cookies

I have a POPUP on my site that appears whenever the person updates or enters it. I want to create a javascript function (because the page is in HTML and you can not use PHP POPUP only once per user with an interval time, type 1 day f...
asked by 16.09.2015 / 13:21
1
answer

How to disconnect the webcam using the SayCheese plugin?

My question is simple but I can not. I'm using a simple and basic Javascript plugin called SayCheese for my webcam in a C # MVC web project. My question is: How to make the webcam off when the user clicks the button to close a Bootstrap...
asked by 18.09.2015 / 15:58
1
answer

How to send only one form once every 5 minutes

Well, I wanted to know, how could I make the person submit form only within 5 minutes. <?php $nome = $_POST["nome"]; $locutor = $_POST["locutor"]; $texto = $_POST["texto"]; $coment = "INSERT INTO 'pedidos' ( 'nome' , 'locutor' , 'texto...
asked by 02.08.2015 / 22:51