Jquery. Post (URL, [data], [callback], [type]): Use the POST method for asynchronous requests.
Parameters:
URL (string): the URL of the request.
Data (MAP): (optional) data to be sent to the server, expressed in key/value pairs.
Callback
Ajax is called Asynchronous JavaScript and XML (Asynchronous JavaScript and XML). It is a Web page development technology used to create interactive web applications. It uses:
* Use XHTML + CSS to represent information;* Use JavaScript to operate
I didn't plan to put this source code on. After all, it has been a long time and has never been improved. However, I found that many netizens asked me for this
CodeI am a lazy guy. I don't want to send emails one by one, so I just moved to my blog.
Purpose: Because blog
Program Some modules in need to use Ajax and directly use prototype. JS is relatively large (more than 40 K), and only uses the Ajax function. Therefore, to reduce the download burden, you cannot change the prototype already
Ajax Technical Resource Center
Web ApplicationsProgramIt is possible to achieve cross-internet interaction, but have your users complained about the pain of waiting for the page to refresh? Now, it's time to combine your skills and create a rich
The returned data of Ajax calls will be cached, and static html is called. Even if HTML is modified, ie may display it with the original data. Firefox can display new data normally.
Solution:
In prototype get, Set
Pars = "Mod = readarticle &
I have been depressed by Dom operations in Ajax for several days. Today I finally understand that self-learning is bitter, and a bitter snot makes a tear,
Give me some lessons and wake up later.
1. Do not mix XML operations in the Dom with those
In Ajax development essentials, I have built two simple comprehensive examples. One is a simple message book that supports addition, deletion, modification, and fuzzy search, and the other is a function that simulates log comments, fixed links,
As we all know. Kesioncms v4.0 has a qualitative overflight in terms of both functionality and performance. It is no longer the previous version. Only one article can be generated in 1 second.
Article . However, it has recently been found that some
Use ajaxrequest for Ajax applications
Program Development (1)-First knowledge of ajaxrequest
Preface
After several versions of the ajaxrequest class were released, many friends gradually used it, and many friends asked me if I had more detailed
Just got in touch with createlement, appendchild, etc! Haha!
I wrote this thing. It may seem very immature to the experts! But I wrote it myself!
Not complete yet. Please kindly advise !!
View
Code
Copy code The Code is as follows:
new
Function createobj (){
If (window. activexobject ){
Return (New activexobject ("Microsoft. XMLHTTP "));
}
Else if (window. XMLHttpRequest ){
Return (New XMLHttpRequest ());
}
}
function personalinfo () { var obao = createobj (); var cont =
In this case, the local cache is checked before Ajax is obtained. If the local cache already contains the same content, the remote server is not accessed. This operation can increase the speed and reduce the pressure on the server. But the
1. Add a ScriptManager control to the page.
Ii. Register a namespace:
Type. registerNamespace ("Demo ");
3. Add constructors, attributes, and methods to the class.
Demo. sample = function (){}
Iv. Registration.
Demo. Person. registerClass ('demo.
In. net development, making full use of free controls is good, but if you cannot modify the controls to meet your needs, you need to use the JS method, the premise is to study the method attributes of various objects in the browser model. It is
Usage:New Ajax (). Request (url, cmd, async, method, postString, title)Parameters:Url: URL of the Request page (required)Cmd: return value processing function (required)Async: asynchronous or not, (true | false). The default value is true.Method:
Rss. js
Copy codeThe Code is as follows: // Control ID
Function getId (objId ){
Return document. getElementById (objId)
}
// Link corresponding array, please indicate Reprinted from http://www.cnrui.cn/blog
Function urlArrary (urlName ){
Switch
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