About AJAX
Related Tags:
the next section), handle HTML form server to return XML data structure. For the first two points, need to be very familiar with getElementById () method, as shown in the list 2.
list 2 shows a simple JavaScript code, mixed with a small amount of HTML. At the same time, but also with a little DOM, we at all times. DOM Top 1 can be seen from the list, and the creation and use of this object is very simple, is not it? Wait. Remember that a few years ago and those who hate the browser war? Nothing in different browsers get the same result. No matter whether you believe that the war is continuing, though on a smaller scale. But it is strange that the XMLHttpRequest become one of the victims of this war. Get XMLHttpRequest object may need to adopt a different approach. Now I will explain in detail. reference to further understand MSXML). Therefore, if by Ajax applications and Internet Explorer to deal with, then we must use a special way to create objects. It is not so simple. According to Internet Explorer installed different versions of JavaScript technology, MSXML actually there are two different versions, it is necessary to prepare these two cases, namely code. Please refer to the list 3, which Microsoft code in the browser to create a XMLHttpRequest.
the list is a simple line as shown in the code: var xmlHttp = new XMLHttpRequest object;. This trip much simpler code in Mozilla, Firefox, Safari, Opera, as well as virtually all in any form or manner Ajax support non-Microsoft browser, created XMLHttpRequest object. 4 shows the list of such code.
Back to the top in the world of 5 in the list of examples of Ajax approach is organized in accordance with this sequence:
5 5 in the list of the Ajax code that the ease of use. Data is a simple text can be used as part of the request URL. GET used rather than more complex POST send the request. XML and did not want to add the contents of the head of the request did not want to send the data, in other words, this is the utopia of Ajax. Not to worry, with the commencement of this series of articles, things will become more and more complex. You will see how to send POST request, the request of the head and how to set up the type of content, how the information encoded in XML, and how to increase the safety of the request, can do the work of many! To leave those temporary difficulties, and with good basic things on the trip, and soon we will establish a complete set of tools for Ajax. 6 in the list of examples of server available for under 5 in the list sent data call.
Top Web 7 such as a list or use JavaScript technology bar.
参考资料中的那些文章了吧? Top those references in the article? But could begin from these applications to the work of the basic concept, the XMLHttpRequest object to a basic understanding. In the next issue of the article, you will grasp the object and learn how to deal with JavaScript and server communications, and how to use HTML form, and how to get DOM handle. Now before we spend little time to consider the application Ajax consider how strong. Imagine, when the click of a button, and enter a field, from the combo box, or choose an option on the screen by dragging the mouse, Web Forms will be able to immediately respond to what circumstances. Asynchronous think what it means is, think about JavaScript code running it and not wait for the server to respond to the request. What will encounter problems? What will enter the field? Given this new approach, the programmer should be the time to change the design of the form? If these issues spend a little time with the simple shear / paste some code to your application simply do not understand the proceedings compared to income will be more. In the next issue of the article, we will put into practice the concepts presented in detail the application of this method in accordance with the procedures required by the code work. Therefore, the present first to enjoy the possibilities offered by the Ajax bar.
- Ajax Profile
- What is AJAX
- AJAX, tasteless!
- AJAX browser
- Thinking in AJAX (1) - AJAX
- What is Ajax?
- AJAX Essentials
- AJaX for weblogs
- About AJAX
- Ajax bad
- AJAX
- Pragmatic Ajax
- Wrote the AJAX
- About''Ajax '
- The Ajax
- Acquaint AJAX
- Ajax resources or Ajax Resources
- Ajax is not mysterious
- AJAX Technology
- Ajax --
Web-based standard UI components - menu (2)

Web-based standard UI components - menu (2) UI Components Based on Web Standards - Menu (2) The first article in this paper, we know of a "perfect" menu should have availability, and ease-of-use features, and create a basic XHTML and CSS code.  ...
Several commonly used 301 redirect

1. Permanent orientation will be a web site to another web site: For example, will www.yoursite1.com directed to www.yoursite2.com can you yoursite1.com the root folder. Htaccess files to add a line like: Redirect permanent / http://www.yoursite2.com/  ...
CSS change in the partial attribute links

<style> A: visited (TEXT-DECORATION: none; COLOR: # 009999) A: link (text-decoration: none) A: hover (TEXT-DECORATION: COLOR: # FF0000; FONT-WEIGHT: bold; FONT-STYLE: italic) A.1: link (text-decoration: none) A.1: visited (TEXT-DE...
WEB design experience - from microsoft.com for design

As a design director, Peter Stern has led microsoft.com redesign of the home page and developed five different interactive tools, these tools are used Download Center, Catalog, configuration documentation centre, search and on-line registration and other functions. He several int...
ASP.NET AJAX entry Series (6): UpdateProgress control briefly

In ASP.NET AJAX Beta2, UpdateProgress control from the "value-added" in the CTP moved ASP.NET AJAX core. The following two articles on the UpdateProgress ASP.NET AJAX basic translation from the official website. Main content 1. ...