I want to use <input type="week">
and <input type="month">
.
My problem is that those type
values are currently supported only by webkit browsers, and others fall back to type=text"
. I need them to fall back to type="date"
.
Is there a javascript method to check if an attribute value is supported by the browser?