If you are are using Microsoft IE 5 or later, you can use the Behavior/html-component "WebService" to access a WEB service. The "WebService" behavior communicates with WEB services over HTTP using simple Object Access Protocol (SOAP).
to use the
Tip: You can modify some of the code before running
Form Effects-very good JavaScript simulation pull-down menu and Between --> and between--> birthday 19851986 1987 1988 Please select birthday sex male &L
Wheel events are different browsers will have a little difference, one like Firefox using Dommousescroll, FF can also use the AddEventListener method to bind Dommousescroll events, Other browser wheel events using MouseWheel, I will give you a
The sort () method is used to sort the elements of an array.Reverse () to reverse the elements in an array
First, let's try the following code:
The code is as follows
Copy Code
var values = [1, 0, 5, 15,
In the front-end development, we often need to pass between the pages of the get parameters to use JS to achieve some effect, this involves a method: How to detach from the current page of the URL of the get parameters we need.
The URL that
Picture delay loading can save us bandwidth, to obtain a better user experience, especially for many pictures of the site, this point is crucial, today zero to discuss with you about the picture delay loading principle and implementation code.
In the first two days when you do the player to add a listener after the deletion of the monitor encountered a bit of trouble, deleted, and then looked at the only found that the parameters need to be completely corresponding, what is called the
function A () {var n = 0; for (var i=1;i
Look at the above two functions, in the execution of the result of writing two input, it must be a function completed, and then execute the B function, this is a single thread queue. How to execute these two
Regular thinking is the same, but the specific wording will be different, the/g,/i,/m mentioned here in other places may not be used.
One, JS regular sign/g,/i,/m description
1,/g indicates that the expression will be used to find all possible
The use of basic classes Method One function Sth (a)//constructor{THIS.A = A;This.fun = output; member functions} function output (A, B, c){document.write (THIS.A);} Callvar s = new Sth (250); S.fun (1, 2, 3); Ouput (1, 2, 3); If output is wrong
We often online shopping, in order to verify the customer's body before payment, sometimes need to get the phone to send the verification code, when the click to get the Verification code button will appear in the countdown, as shown in the
Example
The code is as follows
Copy Code
Submit
and a jquery approach.
$ ("#form1"). Submit (); Form1 refers to the form of the Id=form1 is not Name=form1 oh, this should be noted
In addition to the above
A single description of location properties, usage, and related examples:LocationContains information about the current URL.
DescribeThe Location object describes the complete URL associated with a given Window object. Each property of the location
Web page Special effects string extraction function
Definitions and usageThe substring () method extracts characters from a string mediation between two specified subscripts.
return valueA new string that contains a substring of stringobject whose
Transparency Gradientfunction changeopacity () {Transparency gradient from 1-0 gradient time 1000msvar fx = ' opacity ', from = 1, to = 0, time = 1000;The callback function that the gradient completesvar callback = function () {from = 0; to = 1;New
Web Effects Dynamic Change Select value
Web page Making Tutorials Templates
Other details about the Web page special Select,1. Determine if there is a value= "Paravalue" Item in the Select optionfunction Web Effects
If the mouse moves outside the window after the event is triggered, the value returned is-1This is a read-only property. This means that you can only get the current position of the mouse through it, but you cannot use it to change the position of
Tip: you can modify some code before running Javascript mouse slide to show large imageJavascript mouse slide to show large image Tip: you can modify some code before running
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