Ajaxpro was used all the time. Now I want to see what is at the bottom of Ajax. Use prototype. js to write Ajax. Hard to understand for two days
Today, I finally realized it. That's all.
Script Type = "text/JavaScript" src = "../JS/prototype. js"> </SCRIPT>
<Script language = JavaScript>
Function ()
{
Url = 'default3. aspx ';
New Ajax. Request (URL + '? Id = XXX', {& <60; Method: 'get', & <60; onsuccess:
Function (Transport)
{
Alert (transport. responsetext );
}
});
}
ThisCodeAccess URL. Use the get method. The returned result of this method is actually the HTML page generated by the URL page. Sorry, I have been dizzy for two days. Khan. No wonder that a page like a URL has only one header in Asp.net and other HTML is deleted. Is to let the background output desired results and the corresponding form. Of course, most of them are in HTML format. Of course, there is also a little simple to directly return a string. Haha
This document uses the unregistered version of blog_backup for export. Please register with soft.pt42.com.