176
rated 0 times
[
178]
[
2]
/ answers: 1 / hits: 17374
/ 6 Years ago, mon, june 18, 2018, 12:00:00
so i am trying to make a simple calculator with 2 inputs then it concatenate them or divide ....
so first i want to check if the input value is in there
why won't this work ?
i am learning the basics of js so i don't want to use any library
console.log(document.getElementById('d1').value);
<html>
<head>
</head>
<body>
<input type=number id=d1>
</body>
</html>
More From » javascript