ajax µÄÎÊÌâ¡£
function send_Pricerequest(url,obj)
{
http_Pricerequest = false;
if(window.XMLHttpRequest)
{
http_Pricerequest = new XMLHttpRequest();
if (http_Pricerequest.overrideMimeType)
{
http_Pricerequest.overrideMimeType("text/xml");
}
}
else if (window.ActiveXObject)
{
try
{
http_Pricerequest = new ActiveXObject("Msxml2.XMLHTTP");
}
catch (e)
{
try
{
http_Pricerequest = new ActiveXObject("Microsoft.XMLHTTP");
}
catch (e)
{}
}
}
if (!http_Pricerequest)
{
return false;
}
http_Pricerequest.onreadystatechange = obj;
http_Pricerequest.open("GET", url, true);
http_Pricerequest.send(null);
}
function ShowResult()
{
var rText="";
if (http_Pricerequest.readyState == 4)
{
if (http_Pricerequest.status == 200)
{
rText=http_Pricerequest.responseText.replace(/^\s*/,"");
if (rText=="")
{
rText=" <div class='w'>Error </div>";
}
document.getElementById("ShowDiv")
Ïà¹ØÎÊ´ð£º
Çë½ÌÒ»¸öÎÊÌâ
ÔÚÖ÷Ò³Ãæ(Ö÷¿ò¼ÜÒ³)Main.aspxÓÐÒ»¸ö·½·¨
check_SysState =0;
function checkSysConfig()
{
fnCheckFolder();//¼ ......
°´Å¥·ÅÔÚUpdatePanel1£¬Ïëͨ¹ýµã»÷µ÷ÓÃDictionaryTvAdd.aspxµ¯³öÒ»¸ö×Ó´°Ìå
ÓÃÏÂÃæµÄÓï¾äÌáʾÎÒȱÉÙ¶ÔÏó
protected void Button1_Click(object sender, EventArgs e)
{
ScriptManager.R ......
×î½üÔÚ¿´³ÂÀè·ò±àÖøµÄ¡¶ASP.NET AJAX ³ÌÐòÉè¼Æ¡·µÚ¶þ¾í£º¿Í»§¶ËMicrosoft AJAX LibraryÓëÒ첽ͨÐŲ㣬£¬£¬¶ÔÓÚÀïÃæµÄʵÀý£¬×Ô¼º²Ù×÷ÆðÀ´À§ÄÑÖØÖØ¡£Ê×ÏÈÊdzöÏÖType£¬Sys䶨Òå¡£ASP.NET AJAX ControlKit£¬ASPAJAXExte ......
ajax˸ã³öÀ´µÄ¼¼Êõ°¡
µ½µ×Ôõô»ØÊ°¡£¬ÊÇ΢ÈíŪµÄÂ𣬻¹ÊÇgoogle °¡£¬»¹ÊÇÄĸöä¯ÀÀÆ÷¹«Ë¾°¡
The concept behind the XMLHttpRequest object was originally created by the developers of Outlook Web Ac ......
jquery ajax µÄsuccess»Øµ÷º¯Êý²»Ö´ÐÐ
×Ô¼ºÍ¨¹ýfirebugµ÷ÊÔÁ˵ģ¬Í¨¹ýAJAXÒ²Äܵõ½Òì²½ÇëÇóµÄÊý¾Ý£¬µ«ÊǾÍÊDz»Ö´ÐÐsuccessº¯Êý¡£
ÍøÉÏÒ²ÕÒÁ˰ëÌ죬ºÜ¶àÒ²ÓÐÕâ¸öÎÊÌ⣬µ«ÊǶ¼Ã»Óнâ¾ö¡£
ÓÐûÓÐÓöµ½¹ýÕâÖ ......