[Solved] How to change all my value with onclick?
You have a function, but you’re not calling it. Try changing the onclick() to change() and selecting the element using this, (as a parameter). function change(elem) { if (elem.value == “E”) elem.value += “\u266D”; else elem.value = “E”; } <!DOCTYPE html> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″> <link href=”https://fonts.googleapis.com/css?family=Ubuntu” rel=”stylesheet”> <title>Afinador de Violão</title> <meta name=”viewport” … Read more