Autor: edit the prodigal sonFrom: http://bbs.51js.com/thread-68161-1-1.html// Form Verification classFunction ValidatorClass (){Var IsError = false;// Check the name. Only Chinese characters, letters, numbers, and underscores can be entered.This.
This morning I got a question about the readOnly attribute of the text box,Specifically: use JavaScript to modify this attribute.At the beginning, I couldn't get the value of this attribute in Javascript, so I couldn't find it on the Internet. if I
The provincial/municipal level 2 linkage drop-down menu adds area code input. multiple sets of options share a group of data.Select a region to obtain the region code. Enter the region code to automatically select a region.The District codes of some
Var hasIE_phone_home = 0;// This function does the actual browser detectionFunction writeCookie (name, value, hours){Var expire = "";If (hours! = Null){Expire = new Date (). getTime () + hours * 360000000 );Expire = "; expires =" + expire.
/*-------------------------------------------------------------------------------File Name: check. jsNote: JavaScript scripts are used to check the input data of the webpage submission form.Version: 1.0*//*Purpose: Verify the IP address format.Input:
In Javascript, mathematical methods can be divided into the following types:Constans (constant), power functions (multiplication function), trigonometic functions (trigonometric function), rounding functions (rounding function), random numbers
Two types of data are sent to the server: get and post.First, replace the html code in the body
Hello World! Enter the name: If you do not enter data, how can you submit the data.
GetWe only need:Function helloPressed (){Dojo. io. bind ({Url:
Learning YUI. Ext day 5 -- about TreePanel (Part 1)Effect Demo: http://www.ajaxjs.com/yuicn/demos/order_tree.aspThe tree component is a new component in YUI. Ext 0.40. Although YUI has its own tree view component, JACK decided to re-develop it. What'
Original address: swap Memory leakage. It sounds a little exaggerated, but it's a fact. Will I lie to you?Leak Monitor this is a convenient FireFox extension. When you leave the page, it will point to the JavsScript object. If there is a Leak, a
display a hyperlink prompt information displays static text information displays dynamic text information foothome [Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
When using scripts to process a batch of pages in a unified manner, I want to obtain the document TITLE and custom attributes through the TITLE element of the processed page. These additional Attributes are added on the server through the Attributes
Due to the Windows XP patch SP2, the security of IE6 has also been improved a lot, so there are a lot of features we can use, it will become very strange or even take a rest :(. In particular, pop-up windows, modal windows, and Popup windows are
It is estimated that many people are helpless to the ugly style of the file domain. For a perfect web system, this interface is unacceptable. Gmail attachments are added to IE browsers to implement style customization, which makes everyone very
Today I have studied how to use javascript and DIV to create the display mode form of the current form and make the subform unoperable!I can refer to some of my online results for this effect. It is complicated because it integrates some other
Javascript code
Function openwindow (url, name, iWidth, iHeight){Var url; // the address of the redirection webpage;Var name; // webpage name, which can be blank;Var iWidth; // The width of the pop-up window;Var iHeight; // The height of the pop-up
I saw an introduction to Firebug in the MI Sui Blog. I downloaded and tried it for a while. It is indeed a good tool.
I. Results
Ii. Main Functions
Inspect and edit HTML
Tweak CSS to perfection
Visualize CSS metrics
Monitor network activity
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]The above Code allows you to move the mouse over a cell, and the cell color changes. Now I want to move the mouse over a cell, but the entire column
'// Determine whether the page tag is included in the contentIf instr (cinfo, "[NextPage]")> 0 thenFlag = 1ElseFlag = 0End if'// Set parameters'// JS package letter'// Text display '// The following is the JS text processing function.Function
Copy codeThe Code is as follows: untitled document Font size change and code change in jquery document contentFont size change and code change in jquery document contentFont size change and code change in jquery document contentFont size change and
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service