【发布时间】:2017-03-02 07:31:54
【问题描述】:
我正在设计付款表单。我需要将credit card number 及其expiry date 字段作为自动填充。 Chrome 浏览器完美运行,而 Safari 却不行 (Safari doesn't recognize the expiry_date field to be autofill)。
这是我的两个字段。
<input type="text" id="card_number" />
<input type="text" id="expiry_date" placeholder="MM / YY" />
分离month and year of the expiry date 可能会有解决方案,但我现在应该这样做。
【问题讨论】: