JS + XML implement the linkage between provinces and cities

The tutorial of helping customer House (www.bkjia.com) uses JS to operate an XML document to implement a simple form interaction. Aspx page: Reference content is as follows:Aspx page:UName: UCountry: UProvince:UCity: Aspx. cs:

How does Javascript pass values between two forms?

As we all know, the window. open () function can be used to open a new window. How can we pass a value to the parent form in the child form? In fact, the reference of the parent form can be obtained through window. opener.For example, our new window

High-simulation controllable spring vibrator written in JavaScript

after setting, activate the element and click me! activate the element again after running it! (!!! If it fails to run after the setting, click (stop now) and then click the element. Do not refresh it any more! It depends on you! Haha !) initial

Dynamically add 'onkeypress' event in JavaScript

The following code is used in the tutorial of helper House (www.bkjia.com). window. load = srchtxtAddOnKeyPress () is equivalent to the onload () event of the body. Generally, we place js in the head part of the page. However, here, if you put it in

Example of a layer that can be dragged using Javascript

The help house (www.bkjia.com) Tutorial helps a friend temporarily write "javascript implementation can be dragged layer example (layer drag, compatible with IE/FF)", it feels concise, the effect is also good, remember to avoid re-engineering the

OO features of JavaScript: Static Method

The so-called static method is a method that belongs to all instances of the class and does not belong to a specific instance of the class. It can only be called by the class, but not directly by the class instance.In C #, it is easy to declare a

Several access methods for frame Objects in Javascript

The Helper House (www.bkjia.com) Tutorial in js calls the frames set in the window object by accessing the frame. The methods for accessing frame are as follows: Reference content is as follows:Window. parent. frames [frame index

JavaScript knowledge: trigger events

1. Click Event ___ onclickEvents generated when you click the mouse button. At the same time, the event handler or code specified by onclick will be called and executed.For example, 2. Change event ___ onchangeThis event occurs when the character

Using JavaScript to control web pages with buttons

After this article, the Helper House (www.bkjia.com) is very interesting. I wrote the code provided in the original article of the Web egg, which is very simple. I added some control in actual use, for example, if it disappears after a certain

Confirmation before closing the browser using JavaScript

For the project, you need to click the close button in the browser to save the login times and Logon Time of the current user. In view of ASP. NET does not close the page event, nor can it disable the button of the browser at the front end.

Javascript Tutorial: Change the full check box status

[Fire Station school documentation] Please directly view the javascript code bkjia.com provides you, you can also modify and then use. Reference content is as follows: // Change the full check box status

JavaScript instance link buttons are constantly changing

Buttons are common in Web pages. However, you may not have seen the link using buttons. In this way, you can use buttons to create links, and the links in the buttons are constantly displayed. The results are very nice and can save page space. You

Explain in detail how to implement the most basic AJAX framework

Asp. Net 2.0 has been released. 2.0 has many new features, and client callback is one of them. Client callback allows us to call methods on the server without sending back. It is consistent with the functions provided by AJAX, but it is not as

JavaScript Tutorial: Nine traps that make mistakes easily

From Nine Javascript Gotchas, the following are Nine traps that JavaScript is prone to mistakes. Although it is not a very profound technical problem, please note that it will make your programming easier, that is, make life easier. I will give some

Analysis on the ten reasons for using AJAX

AJAX is currently a hot technology. No one can deny that it has a large number of supporters. On CNN, it grew from an undesirable word in February to a prototype technology in October. Therefore, it is necessary to see why AJAX can evolve into the

10 cross-origin resource sharing methods

Same-origin policy In client programming languages such as JavaScript and ActionScript, the same-source policy is a very important security concept, which has an important significance in ensuring data security. The same-origin policy specifies that

One week learn Mootools 1.4 Chinese tutorial :( 5) Ajax

Ajax is very important in our front-end development, so let's take a separate lesson. First, let's take a look at the ajax structure of mootools. Syntax:Var myRequest = new Request ([parameter]);Parameters:Url-(string: null by default) the URL to be

Common methods and comparisons for creating custom objects in JS

I am a beginner in JavaScript. I am reading the "JavaScript advanced programming" by Nicholas C. Zakas. I have seen the creation object and briefly summarized the content in the book! Copy to ClipboardReference: [www.bkjia.com]

Allow IE to support function. bind ()

The front-end developer should be clear that the function objects of the Javscript can change the objects pointed to by the internal scope (this) through the call or apply method to achieve more scalable function development. Ie native supports the

About the JavaScript garbage collection mechanism

JavaScript has an automatic garbage collection mechanism. The execution environment is responsible for managing the memory used during code execution. The garbage collector must track which variable is useful and Mark variables that are no longer

Total Pages: 472 1 .... 157 158 159 160 161 .... 472 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.