Input Date type 属性
定义和用法
type 属性返回 date 字段的表单元素类型。
注意: 在以上实例中,Opera, Chrome 和 Safari 返回 "date", Internet Explorer 和 Firefox 返回 "text"。
浏览器支持
所有主流浏览器都支持 type 属性。
注意:Internet Explorer 或 Firefox 浏览器不支持 <input type="date"> 元素。
语法
inputdateObject.type
技术细节
返回值: | 字符串, 表示 date 字段的表单元素类型 |
---|

点我分享笔记