/*************************************** ******************* Usage* The Control calls onclick = "fPopCalendar (event, this, this )"* Set the control to readonly as follows:* * Size = "15" onclick = "fPopCalendar (event, this, this )"* Onfocus =
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 (;),
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 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
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
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
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,
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
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,
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
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
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:
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
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
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-
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
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,
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
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
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.