Discussioni Q&A
What is wrong with this code?
-
-
<!Doctype html>
<head>
</head>
<body>
<form>
<input type="text" id="input">
</form>
<button type="button" id="button">Click here</button>
<script>
var input=document.getElementById("input");
var button=document.getElementById("button");
function display() {
if (button.clicked == true) {
console.log("input");
}
};
display();
</script>
</body>
0 Voti
7 RisposteFor this question
-2 Voti
4 Rispostehtml5
0 Voti
1 RispostaDoubt
1 Voto
3 RisposteIs it correct
-1 Voto
1 Rispostamy blog
0 Voti
2 RisposteI’m a Starter
-2 Voti
3 RisposteJavaScript Comments
0 Voti
2 RisposteWeb Question ?
0 Voti
1 RispostaDoubt regarding basics
0 Voti
1 RispostaPopolare oggi
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Pointers in c#
1 Votes
How can i isntall modules
1 Votes