js| objects
When writing an ASP program, VBScript is always used, but it is not just a choice, it can also be used in JScript. However, when using JScript as the ASP's language, there are some small inconvenience than with VBScript, such as the
Js|jscript| Error
JScript syntax errors are errors that result when a JScript statement violates one or more of the syntax rules of a JScript scripting language. A JScript syntax error occurs during the program compilation phase, before the program
Cookie|javascript| Array | loop
The array, to put it simply, is actually a combination of several variables, and then we can call them by looping. Take a look at the following example:
The var array name =new Array () is the definition of the new
Javascript
Method One: The best way. Using regular expressions, this is the core principle.Second, this method uses the prototype properties of JavaScript
In fact, you do not use this property can be implemented using the function. But this is
javascript| statement 1.document.write (""); Output statement
The annotation in 2.JS is//
3. Traditional HTML Document order is:document->html-> (head,body)
4. The DOM order in a browser window is:window-> (navigator,screen,history,location,document)
Tips | random | page | show | page
When running, press F5 to see the effect!
Red, green and blue three colors:
button on:
Display pictures randomly:Add the following code between and .
-
Javascript| Web page | statement 1.document.write (""); Output statement
The annotation in 2.JS is//
3. Traditional HTML Document order is:document->html-> (head,body)
4. The DOM order in a browser window is:window->
Keywords | functions | operations
All the keywords and operations and all the key words related to the collectionHTML file TagsText typesetting markers Original Text Style Inward Indent Title, Bold,, Italic Bottom Line Delete Line text flashes Large
Function
This example is a database query example, through the split function of the query field is cut. An example for flexible control of queries or for developing deeper applications.
Dim ConnDim RsDim JDim ISet Conn = Server.CreateObject ("Adodb.
Menu | Linkage Menu
This problem is actually quite old, but as I have just learned ASP3 months, it is necessary to write down to strengthen their basic knowledge.
Take the most commonly used "provincial and municipal Drop-down list linkage" as an
ado| Beginners | access | data ADO (activexdataobjects) is a new type of data access interface that Microsoft provides and recommends for use, specifically implemented as automation. In this way, programmers can easily access ADO objects, such as
Web
Because there is no combo box in the HTML control, the Web combo box needs to be constructed in a special way, and of course there are many ways to construct it:
First, the use of text boxes and list boxes stacked, this need to use CSS clip, use
web| Menu
The author has been involved in the development of a large ASP project, which many times to encounter a multidimensional Pull-down menu (for Web projects, here refers to the elements in the page), the data in the menu need to be removed
Dynamic http://community.csdn.net/Expert/topic/3722/3722373.xml?temp=.6881372
Rs.Open "SELECT Top 3 * FROM table ORDER BY id DESC", conn,1,1
Ii=1
Do as not rs.eof%>
' id= ' img ' > ' >
Rs.movenext
Loop
Rs.close
Set rs=nothing
%>
' name=rights
Procedures | anti-injection | anti-injection SQL injection is a taste of the novice-level so-called hacker masters, and finds that most hackers are now implemented based on SQL injection.
And, hey, who makes this easy to get started, well, don't
Ado|asp.net| Notes |ado|asp.net notes from the C # Web application entry Classic
1. ADO. NET Architecture
Ado. NET this name does not represent the actual content--ado originally represents the ActiveX Data obejects, but is a kind of technology name.
The Imperial CMS provides a powerful search result call, and you can create most of the search functionality that meets your needs by making the grammar from the Imperial CMS search form. If you have custom fields in your database, you may need to
Operation of Array pointers:Moves the array pointer: Next () goes down and gets the value of the current element. Prev () goes up and gets the value of the current element. End () moves to the last element unit gets the value of the last element
Array: is a data type. Collection type. A set of data with the same type. A ordered set of key-value pairs. key/value key value pairs. Arrays are made up of element : An element is a set of key-value pairs. where key element
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