} []? ([-]? (D) {1, 12}) + $ /;Var patrn =/^ [+] {0, 1} (d) {1, 3} []? ([-]? (D) | []) {1, 12}) + $ /;If (! Patrn.exe c (s) return falseReturn true} // Verify the mobile phone number. It must start with a number and can contain "-" in addition to a number.Copy codeThe Code is as follows:Function isMobil (s){Var patrn =/^ [+] {0, 1} (d) {1, 3} []? ([-]? (D) | []) {1, 12}) + $ /;If (! Patrn.exe c (s) return falseReturn true} // Verify the
JS-determine the mobile phone number and zip codeBytes ----------------------------------------------------------------------------------------------------------------------Phone/Mobile: Zip code:
Author: nycqwert
Http://www.cnblogs.com/wuhuisheng/archive/2011/03/23/1992652.html
The main code for phone number verification is as follows:
Public bool istelephone (string str_telephone)
{
Return System. Text. regularexpressions. RegEx. ismatch (str_telephone, @ "^ (\ D {3, 4 }-)? \ D {6, 8} $ ");
}
The main code used to verify the mobile phone number is as follows:
Public bool ishandset (string str_handset)
{
Return Sys
Convert the ZIP code from Singapore to the corresponding region
// Example
Dco_get_district ("160149 ");
/*##################################
CONVERT POSTAL CODE TO DISTRICT NUMBER AND NAME
##################################*/
Function dco_get_district ($ postal ){
There are always a lot of text boxes that prohibit non-Numeric Character Input. For example, if the mobile phone number has a zip code, the following describes how to prohibit it. Interested friends can learn about it at work, there are always a lot of text boxes that prohibit non-numeric characters from being entered, such as mobile phone numbers.
The Code i
Block bubbling:
1, Stoppropagation () for non IE browser.
2, the Cancelbubble property is true, for IE browser,
And jquery already has a browser-compatible approach, event.stopimmediatepropagation ();
Copy Code code as follows:
this is a div;
Program | essence | show | source code REM view_code.asp
On Error Resume Next
%>
function Rt_min (num1,num2)
If Num1=0 and num2=0 then
Rt_min=-1
ElseIf Num1=0 Then
Rt_min=num2
ElseIf Num2=0 Then
Rt_min=num1
ElseIf Num1Rt_min=num1
Else
Rt_min=num2
End If
End Function
%>
function Line_check (strline,cgi_type)
Dim Cgi_flag
If cgi_type= "PHP" Then
Cgi_flag= "?"
Else
cgi_flag= "%"
End If
Line_check=0
Itemp=0
Ipos=instr (strline, "If Rt_min (ipos,itemp) =ip
data that can be freed after the call has ended. For example, CGA contains a direct IO cache, information about recursive calls, heap space for expression evaluation (when a query plan is generated), and some other temporary data.
Java call memory is also allocated in CGA. It is divided into three parts: heap space, new space and old space. During the call (the length and length of the call depends on the duration and size of the usage), the memory segment that is no longer used in the new spa
For compilation, refer to the DOC/install file in Xvid source code. For the problems encountered, see:
Download NASM
Http://sourceforge.net/projects/nasm (Win32 Version)
After Uncompressing the files, change nasmw.exe and ndisasmw.exeto nasm.exe and copy the two files to Microsoft Visual Studio/vc98/bin.
The following error may occur during compilation: Error c2520: conversion from unsigned _ int64 to double not implemented, use signed _ int64
If your
applications, and is a measure of the capability of the backscattering power of a target at a certain incident power; the amount is described in area units. The larger the area, the stronger the backscattering capability, and the greater the return power generated.V, MATLAB simulation observation RCS and the angle of view, frequency, polarization relationshipFor intuitive purposes, the author uses Matlab t
Copy Code code as follows:
Area Formula S = (A+B+C)/2 areas = sqrt (S * (s-a) * (s-b) * (s-c));
Small job to find the area of the triangle
int check (double a);int Check2 (double A, double b, double c);
#include #include int main (void){Double area = 0;Double S;D
Gets the height and width of the viewable area of the browser window, and the scroll bar is highly needed for a friend to refer to.
In IE, the browser display window size can only be obtained from the following: Code copy Code as follows
Copy Code code as follows:
Postal code
WebService type: RestURL: ws.geonames.org/postalcodesearch?Parameters: postalcode, placename, maxrows, CountryResult: returns a list of places for the placename/postalcode query as XML documentExample http://ws.geonames.org/postalCodeSearch? Postalcode = 9011 maxrows = 10
Note: Don't forget to URL encode string parameters containing special characters or spaces. (FAQ entry on URL encoding)
This WebService is also available in JSON format
Bit
It is an IP address of a single position in the 20 h. 2fh Area of the internal data storage space, or a 8051-bit address that can address SFr.
CodeIs a Code address between 0000 h .. 0 ffffh.
Data
It is a data storage address between 0 and 127, or a special function register (SFR) address within the range of 128 .. 255.
IdataIs an idata storage address in the range of 0 to 255.
Xdata is an xdata storage
This article mainly introduces javaScript code for implementing a scalable display area. It involves some tips for JavaScript to respond to mouse events and dynamically manipulate page element attributes. It has some reference value, if you need it, refer to the example in this article to describe the javaScript code for implementing a scalable display
Obtain the height and width of the visible area of the browser window. For details about the height of the scroll bar, see.IE, the browser display window size can only be obtained below: the code is as follows: copy the codeCopy codeThe Code is as follows:Document. body. offsetWidthDocument. body. offsetHeightIn the declared DOCTYPE browser, you can get the Brows
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.