Now more and more account names use mobile phone number to log in, in order to reduce the front and back of the interaction, users need to input the format of the judgment,The current conventional approach is to make judgments after the input is
HTML page code example:div class="wrap"> input type="text" id="bankCard" placeholder="输入银行卡号">div> div class="wrap"> input type="text" id="moneyNum" placeholder="输入金额">div>Format the bank card number (each four-bit sub-group) $("#bankCard").on("
Microsoft Pinyin Input Method Super Tips
1. The skill of correcting typo
Because Microsoft Pinyin Input method of the basic input unit for the statement, so in the input statement, found that there are typos do not have to be busy correcting,
One application Data
Sogou Input Method
Palm Input Method
Version number
7.2
1.0
Size
18.4MB
11.47MB
Note: The test input platform is Android
Two whole
Common HTML Regular expressions1. Only numbers and English can be entered:
Copy Code code as follows:
Onbeforepaste= "Clipboarddata.setdata" (' Text ', Clipboarddata.getdata (' text '). Replace (/[^/d]/g, ') "
Id= "Text1" name=
EditText properties have been encapsulated in the relevant settings, the previous article also mentioned, unfamiliar can go to see the previous EditText attribute Daquan, here focus on the input restriction properties: android:digits= "1234567890.+-*
JavaScript only allows you to enter numbers in a number of ways, summarized below1, only numbers and decimal points are allowed.onKeypress= "return (/[\d.) /.test (string.fromcharcode (event.keycode))) " style=" ime-mode:disabled ">2, judge the
Cannot enter ChineseOnly numbers and underscores can be enteredOnly numbers and decimal points can be enteredAllow only Chinese characters to be entered One is to allow only numbers and decimal points to be entered.Second, the judgment is more
The Input Method Framework (IMF) has been opened for the Android platform since version 1.5. The IMF is a distinctive design of the Android platform. Its appearance makes it possible for devices without a physical keyboard to be born. At the same
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.