Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

Ajax WebServive·½·¨´«µÝʹÓÃjavascript±äÁ¿µÄÎÊÌâ

function Fun1(para1,para2)
{
  Fun2(para1);
  ....
  ÒªÇóÊÇ:Ôڵõ½ajax·½·¨µÄ·µ»ØÖµºó£¬
  ÔÙʹÓÃpara2(para2ÊÇÒ»¸öjavascript±äÁ¿)

  ÎÊÌâ¾ÍÊÇ£¬
  Ôõô´«µÝpara2,
  ÒòΪµÃµ½ajax·½·¨µÄ·µ»ØÖµÊÇÔÚOnAjaxFun·½·¨ÖеÄ

}
function Fun2(para1)
{
     
Service.AjaxFun(para1,OnAjaxFun);
}
function OnAjaxFun(result)
{
   
}

ÈçÐèÒªÔĶÁ¸Ã»Ø¸´£¬ÇëµÇ¼»ò×¢²áCSDN!




Ïà¹ØÎÊ´ð£º

¼±ÇóÒ»¸öÔÚÍøÒ³ÖÐÑéÖ¤Óû§ÊäÈëµÄJavaScript´úÂë

±ÈÈçÓÐÒ»¸ötextbox£¬Óû§ÊäÈëºóµãbutton°´Å¥Ê±£¬ÊµÏÖÓÃJavaScript¶ÔtextboxÊäÈëÐÅÏ¢µÄÑéÖ¤£¬±ÈÈçÑéÖ¤Óû§ÊäÈëµÄÊÇ·ñÊÇÊý×Ö¡£
Ï£Íû½«HTML´úÂëÒ»²¢Ð´³öÀ´¹þ£¬Ð»Ð»¡£
HTML code:

<!DOCTYPE html PUBLIC &quo ......

C#дJAVASCRIPT Êý×é

C#дJAVASCRIPT Êý×é

      protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
& ......

javascript ½Å±¾³ö´í

ÔÚ¸üÐÂÃæ°åÀï×¢²áÁËÒ»¸öJavaScript½Å±¾£¨½Å±¾µÄ×÷Ó㺹ö¶¯ÏÔʾÎÄ×Ö£©£¬ÔÚ³ÌÐòÁ¬ÐøÅÜ30·ÖÖÓÒԺ󣬵¯³öÒ»¸ö´íÎóÌáʾ¿ò£¬´íÎó£ºÎ´Ö¸Ã÷µÄ´íÎó ״̬Âð£º0£¬ÆÚ´ý¸ßÊÖºÍÎÒÒ»Æð½â¾ö¡£
ÏȰﶥ¡£¡£¡£´úÂëÄØ£¿

×Ô¼ºÒ²¶¥Ï¡£ ......

ÈçºÎÓÃjavascriptÖ´Ðпͻ§¶Ë±¾µØ³ÌÐò£¿

ÈçÌ⣬лл
1.ÓÃactiveX
2.Ó÷þÎñÆ÷.´«µÝÃüÁî¸ø·þÎñÆ÷,·þÎñÆ÷À´ÔËÐÐ

javascript²»¿ÉÒÔÂð

jsÊǿͻ§¶ËÖ´Ðеģ¬È¨ÏÞÓÐÏÞ£¬¿ÉÒԵϰ£¬²¡¶¾ÂúÌì·ÉÀ²

Êǰ¡£¬Èç¹û¿ÉÒԵϰ£¬ÄÇ JavaScript Ö´ÐÐÒ»¸ö format c: ......

javascript×Ö·û´®Á¬½Ó£¬ÇëÈ˸øÎÒ³¹µ×½²½²

var str="reguser_do.asp?psw_value="+obj.value+"&regid_value="+obj.id+"&ac_name="+ajax

ÎÒÕâÑùÁ¬½ÓÄÄÀï´íÁË£¿ÎªÊ²Ã´ÒªÕâÑùд£¿
ûÓдíÎó£¬Ö»ÊÇajaxÊǸöʲô±äÁ¿£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ