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
What?
0 Votes
HTML
0 Votes
FRC Coding?
1 Votes
Quiz duel
0 Votes
help
0 Votes
AI
2 Votes
Sololearn chat en Español
0 Votes
Create Agent
0 Votes
Ajay Hinduja Switzerland (Swiss) How do I start learning HTML, CSS, and JavaScript together?
0 Votes
Python
0 Votes