Problem
I'm researching some way to identify and validate workstations, and would like to get some value from the machine that is not changeable, such as IP that can change.
I tried to get MAC address , but it does not seem possible bec...
I'm trying to close a tab on my site, I've tried using the following commands:
window.open('','_self',''); window.close();
window.close()
self.close()
var win = window.open("","_self"); win.close();
wi...
I have the form to send / work perfect with the other fields, but I can not receive the checkbox selections. I need help getting / manipulating in php:
HTML:
<div class="input-group">
<label for="servicos">NECESSITA EMBALAGE...
Is there a difference in creating HTML elements in javascript?
Example:
As String:
document.body.innerHTML += '<h1>foo</h1>';
And with createElement:
var elemento_pai = document.body;
var titulo = doc...
I'm trying to write methods with behavior similar to Array.prototype.forEach and Array.prototype.map , but using multiple threads.
For Array.prototype.parallelMap , I did the following:
Array.prototype.parallelMap =...
See the final result:
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!--inserindo a meta tag de keywords onde definimos as palavras chaves-->
<meta name="keyw...
I have a page and I want to allow copying normally, but I would like specific elements not to be copied after using Ctrl + A and Ctrl + C , for example forms, navigation menus and banner ads.
This is because the content is usually what...
I have a one page site, where I have an external page with a menu, and the same one has to link the DIVS of my home (one page).
Example:
On my external page, clicking on the Videos menu, I'll go to Div from the One Page page.
When I try to li...
How do I insert data into an external Json file:
var json =
{
caminho: "img/minhaIMG.png",
descricao: "minha descricão"
}
How can I insert new data into this json file? In my case, I would use the same as a "Database" of my files.
A...
I'm using a onmouseover , but it's giving delay from 0.5 to 1 second to change the image, when I put it in my hosting.
<li>
<img src="images/clientes/1.png"onmouseover="this.src='images/clientes/a1.png'"onmouseout="t...