一個jQuery插件,用于輸入和驗證的國際電話號碼:International Telephone Input
International Telephone Input是一個jQuery插件,用于輸入和驗證的國際電話號碼。
它會在任何輸入下拉框看增加一個旗幟。其中列出了所有的國家和他們的國際撥號代碼。

特性:
- 自動格式化數字當用戶輸入時
- Automatically set the input placeholder to an example number for the selected country
- Navigate the country dropdown by typing a country's name, or using up/down keys
- Selecting a country from the dropdown will update the dial code in the input
- Typing a different dial code will automatically update the displayed flag
- Dropdown appears above or below the input depending on available space/scroll position
- Lots of initialisation options for customisation, as well as public methods for interaction </ul>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!