Edit the Form Verification class

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.

Javascript operation text box readOnly

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

Javascript supports the drop-down menu of province/city level 2 Association for area code input

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

If the js check client is not firefox, a download prompt is displayed.

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.

JS Common 2: commonly used functions page 1/3

/*-------------------------------------------------------------------------------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:

Mathematical functions in Javascript

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

Dojo BASICS (III): sending data to servers

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 6 -- about TreePanel (Part 1)

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'

Three simple steps to implement Memory leakage

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

Js Code that allows the hyperlink to display the prompt information

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]

The problem that HTML does not support static Expando Elements

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

Use js to determine whether your browser is IE6 of XP SP2

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

Code for beautifying the file upload interface using transparent Addition

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

Code that uses Div to simulate the effect of the showModalDialog mode menu

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

Use ADODB. Stream for conversion

Use the streamtochar function for ADODB. Stream Conversion. test

Window. open () the center window is displayed.

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

Js WEB development and debugging tool: Firebug download

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

How to change the color of the entire column after moving the mouse over a cell

[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

News pages-JS pages

'// 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

Jquery changes the document content and changes the font size code

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

Total Pages: 5378 1 .... 1235 1236 1237 1238 1239 .... 5378 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.