Questions tagged as 'javascript'

1
answer

Doubts Google Charts with Loop

Good morning,  I'm using a google chart to create a panel, but it's only bringing me one result so my loop is not working, could anyone help me see what's wrong? <?php include("conecta.php"); $consumo_atual = mysql_query("SELECT * FROM Ar...
asked by 31.03.2016 / 15:57
1
answer

How to Switch Input Select according to Radio Button [closed]

How can I make an Input Select for it when selecting a Radio Button Radio x ---> mostrar Select x Radio y ---> mostrar Select y <input type="radio" name="x" /> <input type="radio" name="y" /> <...
asked by 23.01.2016 / 04:22
1
answer

Pop-up with video for site

I have a normal website and I need it when I enter it to have a pop up with a youtube video. A normal pop up with a close button. It can be done in html / css or with javascript or jquery     
asked by 01.02.2016 / 14:06
2
answers

Get name of the properties of a Json

How do I get the properties names of a Json using the Gson library? Example input: { "Ficha":[ { "nome":"nome", "sobrenome":"sobrenome", "idade":"idade", "endereco":"endereco", "empr...
asked by 01.02.2016 / 17:39
1
answer

image moves when scrool goes up or down

I have an image inside a table. I want this image to move when it comes down or goes up with scoll. I already used the position fixed. My jsfiddle example: link     
asked by 01.02.2016 / 12:32
1
answer

How to make a div menu appear when clicked on a button?

I'm trying to make a menu similar to this: Click here to see the menu example What I did, I put a div over the other using position:absolute and hid the div responsible for the menu with a display:none and in...
asked by 01.02.2016 / 15:19
2
answers

Increase table without needing to select manual id.

Hello, I want to do the following I have a table that I hide the part I want but in the java script I'm hiding what I want if I select the id of the table part but I want to do next ro when clicking more or less it will decrease or increase with...
asked by 18.01.2016 / 14:53
2
answers

Capture event close window

I need to perform an action when the user closes a window on my PHP system. I found a JS code that does this in IE, but in Firefox it does not work: document.onkeydown = fecharIE; window.onbeforeunload = fecharIE; //for IE func...
asked by 18.01.2016 / 19:16
2
answers

CRUD with AngularJS and PHP

Good evening! I have the following: var carregarUsuario = function () { $http.get("buscar.php").then(function (retorno){ console.log(retorno.data); $scope.usuarios = retorno.data; }); }; carregarUsuario(); And PHP...
asked by 16.01.2016 / 01:54
1
answer

Using dynamic combobox how to send the id to server automatically without using the submit button and return all values where id is equal?

I'm using a dynamic datalist that does auto-complete. In the combobox below, it is linked with database gestao_vendas , where in the inventory table it contains all product names and their idProduto . How can I do that when I c...
asked by 16.01.2016 / 13:08