Please login to start chat

ICT Solutions 25 Jun 2022, 11:43:29
Category : JavaScript Tutorials

Input Datetime Local (HTML Objects)

<!DOCTYPE html>
<html>
<head>
<title>Js Code Testing</title>
</head>
<body>
<button onclick = "jsFun()">Try It</button>
<script>
function jsFun(){
var x = document.createElement("INPUT");
x.setAttribute("type", "datetime-local");
document.body.appendChild(x);
}
</script>
</body>
</html>

Comments:

No comment to show.

Available Services
Download Android Application