With the addition of canvas to HTML5, various possibilities have arisen, such as creating small games or even a memes generator .
With this, I would like to know if through canvas it would be possible to create a color picker....
I'm making my site responsive, and I found a menu that becomes a burger menu depending on the screen size, the way I wanted it. However, the menu opens as you mouse (and probably your finger) on top, and I would like it to open and close if you...
I'm running the following JavaScript code on the site I made in WordPress.
var itens = document.querySelectorAll('h1');
console.log(itens);
I am pulling from a file that is in the js folder, but it does not bring the items from h1, but if...
I have a business card app, when the user registers a card has a field of tags that are the key words of the card.
He can also edit this card, so you can edit the tags.
When he clicks edit, I put all the data in the card already in the fie...
I have a Problem that when the Player 'X' wins appears the Alert normally, but then an alert appears informing that the 'O' player has won as well. I would like to inform only one alert with the winner.
var jogador = 'x';
var jogada = 0;
func...
I have a project in Javascript Maps that involves a lot of interlinked functions. At the moment, I have 2 inputs text getting Latitude and Longitude of the click of my mouse in the div of the map of Google Maps, in each click it usually receives...
Does not bring what I want, can someone tell me what I'm missing looking at the code?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Sistema de busca interna com PHP/MySQ...
When running:
var image = new Image();
image.src = "./image.png";
var w = image.width;
Is the variable 'w' equal to '0', is there a way to capture the dimensions of the 'image'?
I would like to list the files in the form of a link (to click on download).
List the directory files below the upload input
Ajax:functionCarregaArquivos(Id){$.ajax({url:"/Qualidade/RiscoAcao/ListarArquivos",
data: { IdAcao: Id },...