Discussions Q&R
Input Not Clickable
0 Vote
5 RéponsesWhat 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éponsesAujourd'hui en vedette
Help me learn codeing
2 Votes
Django server hosting
1 Votes
Easy one !!!
0 Votes
How to create calculator
2 Votes
I want advice!!!
0 Votes