Anchors []; links []; Link connection objectUsage: document. anchors [[x]; document. links [[x]; ;Document. anchors is an array that contains all the anchors (including the tag of the name attribute) in the document, in the order in the document, a
JavaScript Form Verification age The JavaScript form verifies the age and determines whether an input value conforms to the age by using a regular expression.// Check the ageFunction isAge (str ){Var mydate = new Date;Var now = mydate. getFullYear ()
You can change the image as needed. A brief description is provided.Favorite download by yourselfVery good slide picture switching effect, implemented using flash + jsCore codeCopy codeThe Code is as follows: Olympic magic lamp www.jb51.net Demo
Two Methods for writing multiple statements into one statement in Javascript1. Use the comma operator to write multiple statements into one statement1. Declare multiple variables at a timeVar I = 1, j = 1, k = 12. Separate multiple statements with
Auntion-the latest version of TableSort fixes a digital Sorting Problem. download the latest version from January 1, May 5.Auntion TableSort test communication version 1(Some table-related special effects will be available in the next version)-------
This method is used because of some interfaces of mobile dream WAP. The ASP.net version is available next. This is an ASP version, and MSXML2.XMLHTTP is used.Request. asp Copy codeThe Code is as follows:Dim HttpsSet Https = server. createobject
Common javaScript technology in B/s DevelopmentI. Verification1. digit VerificationAn integer of 1.1An integer greater than 0 in 1.2 (used for verification of sent IDs)Verification of a negative integer of 1.31.4 integer cannot be greater than
The xml file Login. xml is as follows.Copy codeThe Code is as follows: Now you need to operate on the content of this xml file.First, we need to load this xml file. xml files are loaded in js through XMLDOM.Copy codeThe Code is as follows:
onMouseWheel Event Sample-www.51windows.Net onmousewheel event This sample uses the onmousewheel event to expand or contract the picture below. move the cursor over the picture and roll the mouse wheel up and down. Size = 100%
One day, you browse your code and find that there are almost the same two sections of code. They are actually the same-except for Spaghetti and Chocolate Moose ).// A small example:Alert ("I want to eat pasta! ");Alert ("I want to eat chocolate
After I completed the basic pseudo-dynamics, I immediately applied it to the website, but then I found a problem: how can I manage the news list? If I had to modify the source file and upload it again when I had to add news, it would not be too
The 1st folder is saved as a menu.htm file and the following code content: Copy codeThe Code is as follows: network digest network digest ') "> Sike show 2. Save the following code as a menu.js file and put it in the same directory as
Method for cracking Session cookiesThe acquired session cookie is after you successfully log on to the website,Send a cookie, indicating that you have passed the certificate,The difference is that it will not exist on your hard drive, that is:It
In a recent discussion in the programmer base camp, a dude proposed how to implement a shortcut menu in the browser after right-clicking an application-like mouse. I tried it and found it was not difficult to solve it. Now let's share the source
/*************************************** ****\Game Player Folder Program ver 3.0This JavaScript was writen by Dron.@ 2003-2008 Ucren.com All rights reserved.\*************************************** ****/
Var inner = document. getElementById ("inner "
When performing a Sino-English conversion, you must obtain and retrieve the parameters accurately. Therefore, you have made a simple html file and used JavaScript to obtain an Object in the address bar.There are three methods:1. request. QueryString
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