The calendar control is available in FF2.0 and ie6.

/*************************************** ******************* Usage* The Control calls onclick = "fPopCalendar (event, this, this )"* Set the control to readonly as follows:* * Size = "15" onclick = "fPopCalendar (event, this, this )"* Onfocus =

Use javascript For document. cookie

Document. cookie = "userId = 828 ";To store multiple name/value pairs at a time, use semicolons (;) to separate them. For example:Document. cookie = "userId = 828; userName = hulk ";The names or values of cookies cannot contain semicolons (;),

Location address object in JavaScript

The location object describes the addresses opened by a window object. To represent the address of the current window, you only need to use "location". To represent the address of a window, use ". location ". Previously, I wrote window. location.

A bug in Firefox's childNodes processing of the tab function on msn

A bug in Firefox's childNodes ProcessingChildNodesFirefox does not filter line breaks and spaces when processing childNodes. Therefore, the first time you use it, the expected results are not.HTMLCopy codeThe Code is as follows: Finance University B

The TAB switching function of the pheasant combines javascript and css.

This type of things is widely used on the Internet, but my friends say that my program philosophy is good (Hey ...), I also wrote a tab switch, with a thick cheek to call it the TAB switch of the rooster (sweat first.). For reprinting, please also

The name of a form item is named submit or reset.

Recently, a friend used a form named as a keyword in form, causing the failure to reset and submit. It turned out to be the problem "an error is returned when document. forms [0]. reset () is called ?", Ask him right away: "Is there a form on the

Summary of function declaration in javascript

Function test (){Return 123;}Obviously, this is a function declaration. What about the following?Var B = function () {return 123 };We suspect that this is not a declaration. Because the function has no name, it is just an anonymous function. Well,

How to Use fromCharCode and charCodeAt in javascript flash

FromCharCode Method Returns a string from some Unicode character values.String. fromCharCode ([code1 [, code2 [,... [, codeN])ParametersStringRequired. Is a String object.Code1,..., codeNOptional. Is the sequence of Unicode character values to be

Javascript code for Binary Search

Generally, binary data is used on int ..... in js, a-z may be used more flexibly, or pinyin may be used... or ......However, it is worth pondering whether the following process is worthwhile to achieve binary search such as pinyin:1. Sorting pinyin,

JavaScript checks whether the form is empty.

Var textboxs = new Array (); // input set of the text typeVar radioList = new Object (); // input set of the radio type. Because Radio is special, it requires a group of checks, so a Hashtable is used here, use the radio name as the Key to save all

Asp javascript: How to save data when closing a window

How to save data when closing the window ---------------Use the onunload Event to open the above FileQuit. asp is the data storage file. The above file is used to check whether the window is closed or refreshed.Ie5 is compatible. It was previously

Use javascript to improve user experience with alert prompts

Similar to the prompts in Sina mail. Relatively independent. With the help of the wenming moderator, the high adaptability BUG has been solved. The usage is simple. On the page that requires a prompt, reference the alert. js script file, for example:

9 traps and comments of Error Analysis in JavaScript

From Nine Javascript Gotchas, the following are Nine traps that JavaScript is prone to mistakes. Although it is not a very profound technical problem, please note that it will make your programming easier, that is, make life easier. I will give some

Js automatic slide + mouse Slide Area

automatic slide + 10 seconds automatic jump to the mouse sliding area hotspot focus graphic news Economic News News 1 News 2 News 3 automatic jump in 5 seconds Financial News Financial observation exclusive comment

Use JavaScript to obtain js, css, Flash, and other files on the webpage.

Author: Ma JianEmail: stronghorse@tom.comHome: http://stronghorse.yeah.netVersion: 1.01Initial Release Date: 2005.08.29Last Updated: 2005.09.28 DirectoryI. Preface2. General steps for getting files from an ebook or webpage3. Obtain the linked css

Let the text Flip 90 degrees on the page and 180 degrees

New Feature of IE5.5: rotating text. You can see it later. The usage is as follows:Obtain the writing method:Object. style. writingModeSet the writing mode:Object. style. writingMode = sFlowDirWhere sFlowDir isOne of lr-tb or tb-rlSet Value EffectLr-

Initial JavaScript code obfuscation

For a long time, JavaScript front-end code must be parsed in plain text by IE. Some encrypted JS such as JScript. Encode has been cracked for a long time due to the treasure of the tree. There are also some encryption methods, through complex

Karaoke subtitle Effect

Subtitles in Kara OK will gradually light up as the song progresses. Because subtitles are not lit up one by one but gradually transitioned, we need to implement the effect through two layers on the webpage, the text of the two layers is the same,

Download or link to common reference materials (manual)

Below are some common references (manual) to download or link:-- Chinese manual series (Classic products )-------------------------------------------------W3schools HTML tutorial CHM help (peach island master)Http://www.blueidea.com/articleimg/2004/0

What should I do if IMG does not support onload labels for webpage standards?

The IMG does not support the onload tag. What should I do? I remember someone asked me before, but I didn't pay attention to this yet. now we finally have this problem. because the img tag does not have an onload event. therefore, the onload used by

Total Pages: 5378 1 .... 1947 1948 1949 1950 1951 .... 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.