2005 is the most popular year of Ajax, And the Ajax applications that use Gmail as a pioneer have gradually become deeply rooted in the hearts of the people. Maybe this is the so-called reincarnation. The design of the computer interface is from
For Ajax response, there is no method to directly return data sets, so I just thought of a simple method. If there is a better method, hope to leave some points.
1. on the server side (PHP), we can use the following to export data. Here I use
Add a and a button on the page to add a text box. The content is as follows:
...
Default. aspx. CS
...
Response. Write ("the data sent by Ajax is:" + request ["MSG"]);Response. End ();
...
Program explanation:
(1) XMLHTTP. Open ("get",
An example of a simple client calling XMLHTTP.
The client calls XMLHTTP in five steps:1. Create an XMLHTTP object2. Open the connection with the server, and define the command sending method, Service webpage (URL), and request permissions.The
As shown in, the level control (this control mainly specifies the style ):
Page code:
No title page . ratingstar { font-size: 0pt; width: 15px; Height: 12px; padding: 1px; margin: 1px; cursor: pointer; display: block; background-repeat:
Although I used Ajax in the past, I always felt that it was wrong. In the past, Ajax was used to request the ASPX page. There were countless pages and I felt quite confused.
In my recent work, I also felt that my colleague's jquery + ashx was quite
Parse the response to XML:
The server does not necessarily send responses in XML format. As long as the Content-Type response header is set to text/pain (for XML, the Content-Type header is text/XML ).
XML preface:Defines the XML version and the
Dom node:
DOM nodes have the following attributes:
nodeNameThe name of the report node (see below ).
nodeValueProvide the "value" of the node (see the following description ).
parentNodeReturns the parent node of the node. Remember, each element,
I accidentally broke into the "No Ears" website tonight. I recommend it to you at http://www.cwzb.name.This is his own explanation of OPS:
0. Ops looks like a framework and a technology (when I have not said this );
1. Ops framework, which is
The Automatic completion function uses Ajax: AutoComplete, which has the following attributes:VaR: This is an optional attribute that defines the JavaScript Object Name created by the autocomplete tag. You do not need to specify this
-- = Preface = -- Source: yesky
Reference: Ajax framework Summary
Here I will try to check the current. the Ajax framework under the net platform, I also try to sum up a method from it, so that you can. the Ajax framework and toolkit of the. NET
In Ajax, the post escape cannot be converted to some special characters, such as: + % &, so it must be escaped.
Otherwise, this character will be lost during HTTP transmission. In this case, you must manually convert "+" to "% 2B ", the characters
Release Ajax-based general website draft automatic saving system sipoautosaver (V1.0)
[Download] sipoautosaver V2.0 automatic saving system for general website drafts
Preface:
The reason for making this small program is that when I wrote logs two
Web. config needs to change when IIS 7 uses ajax. dll
This problem occurs because the IIS version of the server is IIS7. Therefore, you need to configure IIS6.
Most importantlyIn system. webServer
Combine some documents to find out what is the magic of Ajax.
Ajax (Asynchronous JavaScript and XML) is a means of Web application development. It uses client scripts to exchange data with the Web server. Therefore, you can dynamically update Web
In this series (three in total), you will learn how to use AJAX technology to create a simple Web-based POP3 client. Specifically, we will fully discuss how to use AJAX technology to build the client UI and its comprehensive JavaScript programming,
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