Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

HTML5 input tag type as Date not displaying calender

  • 5 ответов
  • 1 имеет эту проблему
  • 1 просмотр
  • Последний ответ от Standard8

more options

On other browsers if you are using HTML5 there is tag called INPUT. so when we create TYPE as DATE on other browsers it is displaying calendar but on firefox it is showing as textbox. Below is the attachment where Chrome is supporting.

On other browsers if you are using HTML5 there is tag called INPUT. so when we create TYPE as DATE on other browsers it is displaying calendar but on firefox it is showing as textbox. Below is the attachment where Chrome is supporting.

Все ответы (5)

more options

It should be enabled by default on the latest Firefox - Firefox 57 - see here:

https://developer.mozilla.org/Firefox/Releases/57#HTML

The example on https://developer.mozilla.org/docs/Web/HTML/Element/input/date works fine for me.

If there's a specific site that isn't working, we could take a look if you can give us a link.

more options

Hello

It only works for Date but how about time ? Below is my screen shot i have tried datetime and datetime-local as well i don't see it is helping in terms of submitting time

more options

You're correct that Firefox doesn't currently have a special UI for datetime inputs. You can subscribe to the bug here if you would like to follow progress: https://bugzilla.mozilla.org/show_bug.cgi?id=1283388.

more options

Is your code up to the W3C.org standards and practices. If it is it will run on any browser. So please Validate your code.

HTML Checker https://validator.w3.org/ CSS Checker https://jigsaw.w3.org/css-validator/

more options

Just an additional note, "time" works on its own, https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/time but as user1929 said, "datetime-local" doesn't yet work - see the devmo page and the bug.