AJAX initial development framework
Related Tags:
<script Language="javascript">
Var http_request = false;
Function send_request (url) (/ / initialization, the designated processing function, a function of the request sent
Http_request = false;
/ / Initialization started XMLHttpRequest object
If (window.XMLHttpRequest) (/ / Mozilla browser
Http_request = new XMLHttpRequest ();
If (http_request.overrideMimeType) (/ / Set MiME category
Http_request.overrideMimeType ( "text / xml");
)
)
Else if (window.ActiveXObject) (/ / IE browser
Try (
Http_request = new ActiveXObject ( "Msxml2.XMLHTTP");
) Catch (e) (
Try (
Http_request = new ActiveXObject ( "Microsoft.XMLHTTP");
) Catch (e) ()
)
)
If (! Http_request) (/ / anomaly, the failure to create instances
Window.alert ( "can not create XMLHttpRequest object instance.");
Return false;
)
Http_request.onreadystatechange = processRequest;
/ / Determine the modalities and sent the request url and the simultaneous implementation of the code
Http_request.open ( "GET", url, true);
Http_request.send (null);
)
/ / Return information processing function
Function processRequest () (
If (http_request.readyState == 4) (/ / Object state judge
If (http_request.status == 200) (/ / information has been successfully returned to start processing information
Alert (http_request.responseText);
) Else (/ / pages is not normal
Alert ( "You have an unusual request pages.");
)
)
)
</ Script>
- Div + css page layout, how reasonable framework css?
- Using div Implementation Framework (excluding frame)
- Based on the application framework Ajax Summary
- Fast proficient in the use of master framework
- Ajax on a framework (AjaxFeeling provide the framework source code)
- AJAX framework Summary
- Iframe highly adaptive framework for the realization of
- Div css page layout, how reasonable framework css?
- Div ? ? ? ¨°
- How framework embedded in Dreamweaver
- How to control framework page rolling
- Web-based framework of the optimization techniques
- Using Dreamweaver in the framework of the establishment of website
- Sorted out a clearer framework for AJAX
- DIV
- Making the planning framework website
- Ajax structure of the Web Application Framework
- AJax Framework View
- Flash High Skills: Making Framework
- AJAX initial development framework
No. 1 on the css style sheet

On the CSS style sheet 1. Css before learning what you should have basic knowledge 1 What is a website, what is the hypertext language (html). 2. Use Dreamweaver, and other popular Web editor. Dreamweaver is the best site now one of the...
CSS learning chapter II, "selectors and structure" (2)

Class selectors and ID selectors In addition to the basic elements of the document, there are two other options Address: type (class) selectors and ID selectors, they charge-independent of the document elements to the style rules for assigning the application of these options a...
Making the form shadow effect

Internet seen such an effect is produced to provide Html code: <table Cellspacing=0 cellpadding=0 width=350 align=center border=0> <tbody> <tr> <td Valign=bottom align=right width=347 rowspan=2> <Table cellspacing = 0 cel...
WAP WML Script establishment of the script programming (1)

As a language editor, WMLScript provide a powerful function, the statements and functions, as well as external editing, access control support, in the operation of the procedure at the same time may have given the erroneous detection tools and concrete solutions. These elements ...
WEB2.0 standards Guide: 11 days do not have to form the menu

Preliminary layout structures, I began to fill the contents inside. The first is the definition logo picture: Style Sheets: # logo (MARGIN: 0px; padding: 0px; WIDTH: 200px; HEIGHT: 80px;) Pages code: <div id = "logo"> <a title="...