4G, mobile website has been out of hand, PC end and mobile end of the website coexist. How to get someone to visit your PC-side website directly to the mobile end of the site? You reader, small two on the code! Here it comes!
The first way: the need for mobile phone-side also web page data synchronization
Copy Code cod
Mobile CRM Enterprise source code, mobile OA source code + mobile phone conference source code for sale
Mobile CRM Enterprise source code, mobile OA source code + mobile phone
($data); if (Strpos ($data, ' http://')) { echo ' phone number is malformed! ' } else { echo $data; } } Mobile:
Example TwoThis example uses the mobile database, saves the file locally and then finds the database, but you need to update the database frequently.
The code is as follows
Copy Code
Require (' function.php
This is a jquery based on the implementation of the mobile phone verification Code countdown effect codes, to achieve real-time display seconds Countdown function, but also to achieve the function of mobile phone number format verification, is a common website registration to send mobile phone verification
(China mainland Mobile 134,135,136,137,138,139,150,151,157,158,159 number section, China Unicom's 130,131,132,133,153,155,156 number segment and the Chinese telecom 3G mobile phone number paragraph 188, China netcom 3G Mobile phone number 189th code segment)1, the first 3 digits must be 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 150, 151, 153, 156, 157, 15
Example
The code is as follows
Copy Code
var tel = 18767802354;var reg =/^0?1[3|4|5|8][0-9]\d{8}$/;if (Reg.test (tel)) {Alert ("Correct number ~");}else{Alert ("Wrong number ~");};
Match the phone number at the beginning of 13,14,15,18!
Example
Verify mobile phone Number one
This article mainly introduces jQuery's countdown function for sending verification codes for Mobile Phone registration. We recommend this function to you. If you need it, you can refer to it. This is a jquery-based code for countdown to verification codes sent by mobile phones. It can display the countdown to seconds in real time and verify the format of mobile phone
This article describes the JS and jquery verified e-mail, mobile phone number, zip code method.
jquery Code:
Verify ZIP code
$ ("#postcode"). blur (function () {
//Get Postal code
var postcode=$ ("#postcode"). Val ();
if (Is_postcode (postcode)) {
$ ("#pos
Development test, often need to fill in the name, mobile phone number, ID card number, bank card number, both in line with the format requirements, and can not repeat. People will search the internet for all kinds of generators.
The following small series of their own write a JS generator code. Randomly generated name, mobile phone number, ID card number, bank c
Development testing, often need to fill in the name, mobile phone number, ID card number, bank card number, both to meet the format requirements, and can not repeat. People will search the internet for all kinds of generators. Can you write a simple generator of your own? The following is a randomly generated name, mobile phone number, ID card number, bank card number of the JS
General inquiries about the contents of the cell phone should be very easy to save the JSON format, found Taobao's home to the Internet API, and the processing of JSON-related jar bag, do the phone attribution to the query function
Copy Code code as follows:
Package Com.think.java;
Import Java.io.Buffere
The mobile phone sends the verification code -.net and the verification code. net.
The verification code sent by SMS is as follows:
(1) The user submits a mobile phone number and applies for the verification code of the Lake Distr
Recently in doing only the background user management system purifier, need to use mobile phone number to register, looked for a long time to understand the mobile phone verification code implementation process, today and share with you.We are using the hazelnut cloud SMS platform, website address: http://smsow.zhenzikj.comI'm a Java developer, the backend uses S
This article introduces the use of jquery to verify the mailbox, verify the mobile phone number, the specific implementation of ideas and code as follows, interested friends can learn to
copy code code as follows:
//jquery Verify mailbox Function Checksubmitemail () { if ($ ("#email"). val () = "") {//$ ("#confirm
Note: Please ensure that the mobile phone installed on our mobile Taobao app is the latest version, and then it can be swept oh, very simple.
The first step, we open the phone in the phone Taobao open access to details as follows
after the second step into the interface you will see as shown in the upper left corner click "Sweep" then we click on it to op
Download html source code from more than 10 mobile phone Topic Page Templates and 10 source code downloadsMobile Phone Touch screen version of snow mountains and tourist attractions site response-type mobile phone template html5 source c
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.