4
ralee
7y

wanted to write my own JavaScript base calendar date picker instead of using the jquery one. really hate the idea of requiring jquery in my compiled script just for the calendar.

but the thought of mobile respobsifying the calendar UI kills me.... then there's cross browser support 😫

Comments
  • 2
    I did this once before jquery came along.

    Theres a lot of details to get right for a good one but I did not have to consider mobiles

    On the other hand, does notmost mobile browsers support date as input type for the built in picker in the browser? If so you only have to consider responsivenes for desktop which is not to bad. A datepicker is not so large, you only need to handle posititoning not size?
  • 0
    You could just copy only the needed code from jQuery...
  • 0
Add Comment