Questions tagged as 'javascript'

2
answers

How to create a confirmation window on a system in PHP?

I am a beginner in programming and I am creating a small system and in it I will have a button to move the user, the code: <a href="../controller/controller.deslogar.php" title="Deslogar"><img src="img/logout.png" class="icon2"><...
asked by 01.06.2017 / 17:10
2
answers

How to get another div with the same name without changing the others?

Well it's as follows. I have the following code structure: A div called part-sec that brings the entire contents of the product. The price-product div comes with the price. So far so good. But below I have another div with the sizes and when...
asked by 13.07.2017 / 17:11
1
answer

Random backgrounds in each page load on static pages

I'm creating a website / blog with jekyll, and I created a banner.html and it includes it in the default layout, but I wanted to load the page every time it was a different background in this banner and I'm trying to do this by javascript but I...
asked by 13.07.2017 / 17:46
2
answers

How to leave an entire page linked to a button?

How can I leave an entire page linked to a button? Example: link when the person clicks on any area of the site click on the play button or the youtube video that will be on the page, as if it was an invisible advertisement on the whole page,...
asked by 22.06.2017 / 06:33
2
answers

Fill input with result of function javascript [duplicate]

I am using the following function to validate the CNPJ in the Input: function FormataCnpj(campo, teclapres) { var tecla = teclapres.keyCode; var vr = new String(campo.value); vr = vr.replace(".", ""); vr = vr.replace("/", "")...
asked by 07.06.2017 / 08:51
1
answer

How to return to the "normal" state of Html after a Javascript query without refresh?

Alright? I have a very annoying question here and I could not find any viable solution. Well, I'll explain the problem. This is my class where I will return my query <div class="col-lg-2 result"> ... AQUI DENTRO ESTARÁ A CONSUL...
asked by 06.06.2017 / 20:53
1
answer

Object disappear in a certain place on the page

My question is: I want / need a code for my site, which works as follows: When the user uses the mouse scroll to go down near the footer of the page, the Div called for example: Advertising disappears in a certain part. I found a jquery...
asked by 06.06.2017 / 21:55
1
answer

What causes the "Unknown renderer type" error in Google charts?

Hello, I'm doing a program to generate graphics and started to appear this error in some, but the strange thing is, graphics are generated from some selected checkboxes, so when you select a certain amount of checkbox, another amount wrong, could...
asked by 07.06.2017 / 15:37
1
answer

Names Sequencing

I'm trying to set up a javascript that sequentially writes a phrase within my div, and after a few seconds it replaces the text with another pre-programmed one, I already tried to do with for, timer and still can not, instead of waiting the firs...
asked by 31.05.2017 / 03:49
3
answers

Radio enable field, checked from bank

Personally I have a problem! I have a Radio that I get the value of the bank <div class="radio"> <label> <input type="radio" name="empre...
asked by 30.05.2017 / 05:46