Object-Oriented Programming in JavaScript statements about object-oriented programming now we have the strength to learn the following statements about object-oriented programming, but they actually belong to the content of the previous
Anchors []; links []; Link connection object in JavaScript
Usage: document. anchors [[x]; document. links [[x];
Document. anchors is an array that contains all the anchors (including the name attribute tags) in the document. A subscript is
In JavaScript, the Location address object location address object describes the address 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"
.
FromCharCode and charCodeAt methods in javascriptflash
FromCharCode Method
Returns a string from some Unicode character values.
String. fromCharCode ([code1 [, code2 [,... [, codeN])
Parameters
String
Required. Is a String object.
Code1,...,
The execution sequence of JScript and HREF in IE and firefox has not been written about the code for a long time. The main reason is that the recent work has been concentrated on Demand Analysis. Without the feeling in reality, there is no
After a bug occurs, click the image at the back of the page, and then return... The problem occurs... the core code is as follows. You can refer
The Code is as follows:
Img's onload is an alternative usage of the image's onload event, which is often used by everyone, especially when controlling the image's output size.
However, onload has some special usage. For example, recently I am working on ajax and need to
Javascript shields several pieces of code from the mouse and keyboard. // hides the right mouse, Ctrl + n, shift + F10, F5, and backspace keys.
Function KeyDown (){
If (window. event. altKey )&&
(Window. event. keyCode = 37) | // mask Alt +
The syntax of the replace method is stringObj. replace (rgExp, replaceText) Where stringObj is a string, reExp can be a regular expression object (RegExp) or a string (string), and replaceText is a replacement string found .. For better
Yiyun. frameworkbyNeequ help: rewrite the function body so that functions with the same name can execute func shelling function body string name function name obj (Optional). The default value is window, which is the parent object of the application
I have been searching for the page keyword density query code keyword density query tool on the Internet for a long time. I still haven't found a proper keyword density query tool. Why? Because my website is UTF-8 encoded, most of the content
The TAB switching function of the pheasant combines javascript and css. Many items are available on the Internet, but my friends say that my program concept is good (Hee ...), I also wrote a tab switch, with a thick cheek to call it the TAB switch
Log on to log on to the JS random sorting program to display information at random. The display sequence of each news task is different. log on to the JS random sorting program to display information at random. The display sequence of each news task
The code of the current date is displayed in the drop-down box, provided that the year contains the code of the current year. Otherwise, the Code cannot be run. Areas to be added:
The Code is as follows:
2010 2011 2012 2013
Test code:
The Code
Some methods, advantages and disadvantages, and disadvantages of preventing website content from being copied are analyzed as follows:
1. Right-click and Ctrl + A keys are disabled in js. The implementation method is as follows:
2. Use Table to
Flash + XML rolling news code download without picture attachment source code use flash to read news connection code, so that an external connection can be displayed at a 50-level location, with a good black Effect
Index.html
The Code is as
The processing method and code for sending and receiving XML data using ASP are used as some interfaces of mobile mengnet WAP. This method will be used in the ASP.net version, which is in ASP version, MSXML2.XMLHTTP is used.
Request. asp
The
JavaScript checks whether the form is empty. var textboxs = new Array (); // The input set of the text type.
Var radioList = new Object (); // input set of the radio type. Because Radio is special, it requires a group of checks, so a Hashtable is
Auntion-the latest version of Auntion-TableSort, a javascript table sorting task written by Chinese people in TableSort, fixes a digital Sorting Problem.
Auntion TableSort test communication version 1
(Some table-related special effects will be
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