How to get data from type = week html using js?
-
Hello, I have a normal input:
& lt; input id = "colendarweek" type = "week" & gt;
How do I get the selected date of a whole week using pure js?JavaScript Anonymous, Jul 9, 2019 -
document.getElementById("calendarweek").addEventListener('change', function(e){
alert(e.target.value)
})Lucas Michael -
document.getElementById ("colendarweek"). getAttribute ("type")Anonymous
2 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!