Use window. location. href is used to refresh another framework page and write ASP. net program, we often encounter page jump problems, we often use Response. redirect: if the customer wants to use the prompt during the jump, this will not work, for
Some 1.doc ument. write (""); output statements required for learning js
2. comments in JS are //
3. the traditional HTML document sequence is: document-> html-> (head, body)
4. the DOM sequence in a browser window is: window-> (navigator, screen,
One js code that supports ff modaldialog. this is another method I have seen. although it is still not very good, it is also good to understand. Currently, the code does not support opera, I don't have time to check whether = is supported.
[Js + css] click hide layer. clicking another layer cannot hide the original layer. Use a global variable to Save the Last opened object.
Script var old = null; function changemenu (myp) {var obj = document. getElementById (myp); if (old! = Null &
This article mainly introduces the basic implementation method of the JavaScript template engine and explains how to use function objects to write simple templates step by step. if you need a template, you can refer to the template below to separate
Promise is a method to process values asynchronously. promise is an object that represents the final possible return value or thrown exception of a function, when dealing with a remote object, we can regard it as a proxy of the remote object. This
Recently, I have received a project, which requires copying the content to the clipboard. because there are many browsers, compatibility is very important, next, I will introduce you to the details of Javascript replication instances through this
This article mainly introduces how to expand and contract the DIV layer by using JS + CSS, and introduces how to expand and contract the DIV layer by using two complete examples, if you are interested, you can refer to the first example shared in
This article mainly introduces the detailed code for javascript to implement the 2016 New Year Calendar. if you are interested, you can refer to the code to see it. The effect is relatively simple:
Code:
JavaScript calendar
This article provides examples to illustrate how to solve the memory leakage problem of js function closures. if you are interested, you can refer to the examples in this article, I have explained how to solve the memory leakage problem of js
This article mainly introduces the simple implementation method of jquery fade-in and fade-out effects, and analyzes the techniques for implementing fade-in and fade-out in jQuery in the form of a complete example, for more information about jquery
This article mainly introduces how to use subpages on the js parent page, that is, the js parent page uses functions in iframe, if you are interested, you can refer to iframe as an html element that is very commonly used. if you use the subpage
This article mainly introduces the special effects of the javascript lantern draw, which has some reference value. if you are interested, you can refer to the examples in this article to explain the special effects of the javascript lantern draw,
This article mainly introduces the JavaScript dynamic creation of div and other element instances. This article provides examples to illustrate the detailed code of JavaScript dynamic creation of elements such as p, and share it with you for your
This article mainly introduces how to set the page background color and background image in javascript, and related techniques related to JavaScript dynamic page element attributes, for more information about how to set the page background color and
This article describes how to implement a simple verification code in JavaScript. the verification code mainly aims at website security and prevents malicious registration and login. if you are interested, you can refer to the verification code, it
This article uses a code example to introduce you to pc jump mobile code and mobile phone jump pc website code. if you are interested in js jump code, read this article.
This code is stored in the PC template code.
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