Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想要一个电话输入,自动在电话号码中插入两个破折号,当用户键入时,数字会自动在破折号之前和之后适当地出现,例如:
555 - 555 - 5555
这可以使用 html5 电话输入和模式属性吗?有跨浏览器的方法吗?
谢谢!