This article mainly summarizes the usage of showModalDialog In the JS dialog box _ JS modal dialog box. If you need it, you can refer to it for help.
Parent window:
The Code is as follows:
No title page
This article details the examples of javascript traversal controls. If you need them, you can refer to js page traversal controls,
The Code is as follows:
Var inputArr = document. forms [0];For (var I = 0; I If (inputArr [I]. type. toUpperCase ()
If you can determine the type of the Web page (PC or mobile terminal) You want to visit ). It can solve the problem of multiple colorful Flash effects, because many mobile terminals do not support Flash, so many colorful Flash effects. If you can
This article mainly introduces in detail how to use Ajax to assign values to global variable exceptions in JQuery. For more information, see, I hope it will be helpful to everyone. We want to assign a value to the global variable after extracting
Assigning the content of one element to another is more practical in some cases. The following describes how jquery and javascript are implemented.
The Code is as follows:
The Code is as follows:
Untitled document
This article mainly introduces two different methods for getting parent elements from js and jquery and deleting child elements. For more information, see, hope to help you. var obj = document. getElementById ("id"); the dom object is obtained, and
There are many methods to obtain the selected value of the select tag. The following two methods are used to obtain the selected value using js. For more information, see
The Code is as follows:
Var obj = document. getElementByIdx_x
There may be many ways to generate a map object. This article will introduce you in detail how to use js. Do not miss it if you are interested.
The Code is as follows:
Var Map = function (){This. _ entrys = new Array ();This. put = function (key,
This article mainly introduces how to obtain parent-level elements, child-level elements, and sibling elements from js and jquery. If you need them, refer to them, I hope it will be helpful for you to first talk about the JS acquisition method,
There is a good way to determine the distance between the document and the top of the browser. If you are interested, you can refer to $ ("body") when writing code today "). scrollTop ();
It is not available in IE only after testing.
I have
This article mainly introduces the sample code for js to obtain the current page path. For more information, see, we hope to help you set or retrieve the "file name" or path specified by the object.
Script
Alert (window. location.
Quick Solution to Ajax cache problems in IE (get mode ). I searched for a lot of solutions on the Internet. I think the following is a comprehensive solution. Mainly divided into client solution and server solution for a long time, the program uses
In this article, we will introduce a simple example of jquery image scaling and dragging. If you need some help, please refer to it.
1. Simple scaling without jquery:
The Code is as follows:
OnMouseWheel SCRIPTVar count = 10;Function Picture ()
Determine the number of input texts and prompt how many words can be entered. Similar functions can be easily implemented using jquery. 1. js Code Section
The Code is as follows:
This article mainly introduces the jsshowModalDialog pop-up window in detail. If you need it, you can refer to it for help.
ShowModalDialog:Mode window, a very special window. When it is opened, the activity of the parent window will stop. The
This article describes how to learn the returned values of window. showModalDialog. For more information, see.
Next, let's talk about the basic usage of window. showModalDialog.
ShowModalDialog () (IE 4 + supported)ShowModelessDialog () (IE 5 +
This article provides a detailed summary of several methods to refresh the page, including JS and ASP. NET. For more information, see.
How to refresh the page with Javascript:
1. history. go (0)2. location. reload ()3. location = location4.
This article mainly introduces how to use JS to obtain the mac address and IP address of a computer. If you need it, you can refer to it for help.
How to obtain the mac address and IP address of a computer using JS
The Code is as follows:
// The
This article focuses on jswindow. onload loads multiple functions and append functions. If you need them, you can refer to them and hope to help you with the window. onload,
The usage is as follows:
Function func () {alert ("this is window onload
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