Other Objects in JavaScript

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

Common JavaScript form verification set

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 ()

Javascript supports firefox, ie7 page layout, drag-and-drop effect code

Javascript Drag JavaScript Google IG Drag Demo, very good Drag, ready for F2Blog new Theme background Module Settings, DragDynamicDrag effect page effect demo address: http://img.jb51.net/online/tuozhuai/google_drag.htmEnhanced Effect demo address:

Download and package the flash version of the magic lamp Switching Effect on the official Beijing Olympics website

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 js

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-sorting of a javascript table written by TableSort

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)-------

Processing Method and code for sending and receiving XML data using ASP

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

A good news of Date input

Copy codeThe Code is as follows: date Control Simplified for only one year:Copy codeThe Code is as follows: date Control

B/s development common javaScript technology 1st/4 Pages

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

Js + XML operations

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:

Use Dom in Javascript to operate Xml

1. Xml fileIi. IXMLDOMDocument/DOMDocument Introduction2.1 attributes2.1.1 parseError2.1.2 async.2.1.3 xml2.1.4 text 32.1.5 attributes2.1.6 nodeName2.1.7 documentElement2.1.8 nextSibling2.1.9 childNodes2.1.10 firstChild2.1.11 lashChild2.2 Method2.2.1

Onmousewheel event scaling Image Effect

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%

Can your programming language do this?

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

Static dynamic continuation point XML

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

Effect of the dvbbs drop-down menu on jb51 correction

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 cookies

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

How to Implement right-click menu on the browser

 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.0

/*************************************** ****\Game Player Folder Program ver 3.0This JavaScript was writen by Dron.@ 2003-2008 Ucren.com All rights reserved.\*************************************** ****/ Var inner = document. getElementById ("inner "

Javascript-HTML request class

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 row-based color change of the JS control table

do not change color xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx do not change color

Total Pages: 5378 1 .... 2513 2514 2515 2516 2517 .... 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.