Q&A Discussões
Input Not Clickable
0 Voto
5 RespostasWhat 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 RespostasQuente hoje
Audio adding
1 Votes
C#
0 Votes
Stuck in Quize
1 Votes
What is problem in this code
0 Votes
C Program
0 Votes
Software developer
0 Votes