4

Hi what is the best work around for having placeholder text on a input with type="date"?

I want the phone to use it's own functionality for date selection on a site, rather than keypad input, but iOS devices ignore any date placeholder.

Have a tried a JS work around, but just crashed any androids viewing it.

casraf
  • 21,085
  • 9
  • 56
  • 91
C3Lawrence
  • 47
  • 1
  • 7
  • Could this help in any way? http://stackoverflow.com/questions/4946919/invoke-native-date-picker-from-web-app-on-ios-android – Magnus Jul 03 '13 at 07:15
  • Possible duplicate: http://stackoverflow.com/questions/9622420/input-type-date-placeholder-on-ios – Tx3 Jul 03 '13 at 08:12

1 Answers1

0

jQuery Mobile could help you here. They have many widgets that are supposed to work on a wide range of devices, such as Android or iOS. Their text widget supports date picking, and a fully featured demo of this widget can be found here.

megubyte
  • 1,549
  • 9
  • 15