Q&A DiscussƵes
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 Voto
7 RespostasFor this question
-2 Votos
4 Respostashtml5
0 Voto
1 RespostaDoubt
1 Voto
3 RespostasIs it correct
-1 Voto
1 Respostamy blog
0 Voto
2 RespostasIām a Starter
-2 Votos
3 RespostasJavaScript Comments
0 Voto
2 RespostasWeb Question ?
0 Voto
1 RespostaDoubt regarding basics
0 Voto
1 RespostaQuente hoje
Learn python
2 Votes
Help for study
1 Votes
Spying on me
1 Votes
Where's PHP and Ruby courses?
1 Votes
Detach thread exception
1 Votes
Qt timer timeout
0 Votes
Not video
0 Votes
Not image in the page
0 Votes