Discussions Q&R
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 Vote
7 RéponsesFor this question
-2 Votes
4 RéponsesDoubt
1 Vote
3 RéponsesIs it correct
-1 Vote
1 Réponsemy blog
0 Vote
2 RéponsesI’m a Starter
-2 Votes
3 RéponsesJavaScript Comments
0 Vote
2 RéponsesWeb Question ?
0 Vote
1 RéponseDoubt regarding basics
0 Vote
1 RéponseAujourd'hui en vedette
New code
1 Votes
Clean Code
3 Votes
How would you solve the part of the C# Intermediate code project that requires operator overloading?
0 Votes
Hello Everyone
0 Votes