HTML5 Input type “number” in Firefox

前端 未结 6 1083
再見小時候
再見小時候 2020-12-20 12:12

I am working on an app that is only used by a few people in-house, so I feel comfortable telling them to only use Firefox or Chrome, so I can use HTML5.

I was workin

6条回答
  •  执念已碎
    2020-12-20 12:45

    First of all, are you using Firefox 4? HTML5 forms has much better support in version 4.

    This page has details on HTML5 forms and the current bugs https://wiki.mozilla.org/User:Mounir.lamouri/HTML5_Forms

    Update: If the browser does not support the HTML5 features you want to use, try Modernizr. It uses Javascript to enhance support. It's documentation has information about input types.

提交回复
热议问题