How to get data from type = week html using js?

  • 0
    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

  • 2 Answers
  • 0
    document.getElementById("calendarweek").addEventListener('change', function(e){
    Lucas Michael

  • 0
    document.getElementById ("colendarweek"). getAttribute ("type")

Your Answer
To place the code, please use CodePen or similar tool. Thanks you!