Brother decided to study JavaScript from scratch today.
Post a few new posts every dayCode
I don't know if anyone encouraged me together...
Come on !!!
Example of function read Sequence
A good study will help new users better understand the
Temporary JavaScript TCP Scanner
Author: All-Metallic Shell
The cause is that I tested my backdoors in my school PC classroom. When I bound my backdoors with an invincible WinRAR bundle and several secret games to a shared directory, I suddenly
They can all hide the domain, but visibility takes up the space of the domain, while display does not! Below is a test Title Test content test -- visible content test-hidden
Language learning is easy to understand, expand, summarize, and use. It is easy to integrate.
Today, we will briefly describe how JavaScript classes are declared to consolidate the Javascript basics.
View the source code directly:
JavaScript
There are no images, no external JS files, no CSS files, and only one 52-line HTML file. However, it is scalable and you can easily add slices and hyperlinks.
Modified from Marcelo Franco. This version uses table and assumes that DIV can only be
Non-capturing JavaScript grouping and foresight
Non-capturing group:
The previous section describes how to create a reverse Reference Group. This type of group is generally called a capturing group. A non-capturing group also exists. It does not
untitled document
show 1
display 2
display 3
display 4
display 5
The following shows the corresponding items based on the list selection.
the colors of the following cells in the list are different
display 1 content
1. check whether there is an item with value = "paravalue" in the select option.2. add an item to the select option3. delete an item from the select option4. Delete the selected items in the SELECT statement.5. In the select option, set the text of
Address: http://info.codepub.com/2008/05/info-19436.html
Use the window. Open method to create a windowThe window object represents a browser window, which has multiple operations. An important method is open, which indicates creating a window
Call () in Javascript is a wonderful method, but it is also confusing. Let's take a look at the official explanation:Call MethodSeeApplied to: Function objectsRequirementsRelease 5.5Call a method of one object to replace the current object with
Click Back to the Code on the previous page:
Code of the pop-up warning box:
Click to open a new window
A confirmation box is displayed when you delete a record:
Close the window close the window
Clear input and selectOnclick = "javascript:
The statement for [Tab] In the JS string is/x09You can do this test: Alert ("/x41"); // you can see what you get ?? Is the letter A (41 is the hexadecimal ASCII code value)I like to use separators such as/x0f. The [Tab] key may still be input, but/x0
Use the Code as follows:
today's date function print_date () { document. write (new date (). tolocalestring (); } // alertstring ("I am on the up script "); // error // --> print_date (); // OK alertstring ("I am in the
Date: 2013-5-5 Source: gbin1.com
With the development of HTML5, more and more HTML5-based Web development frameworks are emerging. In today's article, we will introduce iio engine, it is an open-source Web framework for creating HTML5
What is a regular expression?Many programming languages support regular expressions. This article only discusses Regular Expressions in JavaScript. Create a regular expressionMethod 1:
VaR Reg =/pattern/; Method 2:
VaR Reg = new Regexp ('pattern');
We all know what is the main sign of the arrival of the mobile age? Easy access to the internet! The way the Internet shows us is generally web pages, and JavaScript is essential to webpages. Therefore, it is imminent for Android to provide support
For example, to center an element whose ID is div1, set the position attribute value to absolute and add onload = "center ();" to the body ();"Code:
Function center (){
VaR divid = Document. getelementbyid ('div1 ');
Divid.style.left.pdf (
test movable Div
Style = "cursor: move; position: absolute; width: 100px; Height: 60px; Border: 1px solid
Silver; left: 100px; top: 100px; Z-index: 9999; ">
Document. All[] Is an array variable composed of all tags in the document, including all
Today, the new guy has a problem. He needs to submit the form on the current page to a new window, requiring that there is no menu or toolbar in the window. I take it for granted that window. Open can be used, because there is only one parameter in
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