Although ASP is primarily used to create and process server-side scripts, it is possible to use it to generate client script that is processed by the client browser to extend its utility. You can write server-side scripts by combining script
This chapter describes how to place JavaScript scripts on a page.
The following is a simple example of how to write text with a JS script:
==============================================
Scripting code:
==============================================
DIM FIRSTCHR,LASTCHR
DIM K,i,j
DIM httpaddress
' firstchr= ' 45217 ' defines the starting value
FIRSTCHR = Request ("FIRSTCHR")
' LASTCHR = ' 63486 ' defines the end value LASTCHR = Request ("LASTCHR")
Sub Makechineseword ()
Response.Write "Starting
Batman based on the improvement, thank Batman eldest brother:-). Use access2000 's own database---nwind.mdb, ODBC---NW.
Index.html
Implementation example of
Customer Information
var ServerURL = "Http://3344net";
var pageurl =
Javascript:
The HTML under the ' #container. Content ' selector under the load '/show.asp?id=3 ' page
The code is as follows
Copy Code
$ (". Demo"). Load ("/show.asp?id=3 #container. Content");
Load a PHP file
Direct Binding UL Click event
The code is as follows
Copy Code
$ ("ul"). Click (Function (E)
Example
code is as follows
copy code
$ (function () { //$ ("ul"). On (' Click ',
Voice payment out of test:
Google launched a payment test, which is rumored to be "voice payment", as the name suggests, as long as the cashier said "I ll pay with Google" can be completed payment, compared to mobile payment, it sounds
1. First we open QQ export has been a collection of expression package This can be downloaded online, the specific effects shown below (You can Baidu search download)
2. Then install "PP Assistant" in the computer and also install "ITunes"
The code is as follows
Copy Code
Untitled Page
The transformation of jquery objects and Dom objects
These are DOM objects that can use the methods in the DOM, but no longer use the jquery method.The following are the
For the U.S. Mito software users to detailed analysis to share the production of interesting "large and small" effect of the processing tutorial.
Tutorial Sharing:
Effect Chart:
Figure 1
Figure 2
Is the picture super
// 1. Obtain the selected option value$ ('# SelectList'). val ();// 2. Obtain the text of the selected option$ ('# SelectList: selected'). text ();// 3. Obtain multiple selected option values and textsVar foo = [];$ ('# Multiple: selected'). each
Script type = "text/javascript tutorial">JQuery (document). ready (function ($) {$ ('.111cn.net a'). attr ({target: "_ blank "});});Second:The code is as follows:Open external link in new windowThe code is as follows:$ ('A [href ^ = "http: //"] ').
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