1, placeholder problem solving method
The purpose of using placeholder on input type date is to give the user more accurate input of the date format, and on IOS there will be a date that does not display placeholder text, but in order to unify the appearance of the form, it is often necessary to display it. Android Some models do not have date and do not display placeholder text.
Workaround:
First make its type text, at this time support placeholder, when touch or focus, use JS switch to trigger the DatePicker function.
<input placeholder= "Date" class= "Textbox-n" type= "text" onfocus= "(this.type= ' Date ')" id= "Date" >
But after clicking on the iphone 4s, there is still a small problem, the style is still the default style, is looking for a workaround.
This solution is used for reference http://www.w3cmark.com/2015/405.html
And then find a good way to add.
HTML5 Input Date Mobile IOS does not support issues