Q&A Discussions
Validation
1 Vote
2 AnswersWhat 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 Votes
7 AnswersHot today
GUI-Based Python code in Webpage
4 Votes
Convert Animated SVG to PNG
1 Votes
My Missing Courses
1 Votes
Font size
0 Votes
Mobile
0 Votes
Are '\0' and NULL the same?
1 Votes
Number addition
0 Votes
cyber security
0 Votes