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

ÉÏƪÎÄÕ´íÎóÐÞÕ棨¹ØÓÚAjax¿ò¼ÜÖÐÎÄÂÒÂëÎÊÌâÐĵã©

  
var file = filefromPath(encodeURI(encodeURI(this._input.value)));//»ÆÓðÐ޸Ġ  2010Äê4ÔÂ8ÈÕ //Ð޸ĺó
         ²»ºÃÒâ˼ÄÇÌìûÓÐÔÚIE²âÊÔ
                 Ó¦¸Ã¸ÄΪ:
             var file = encodeURI(encodeURI(filefromPath(this._input.value)));//»ÆÓðÐ޸Ġ  2010Äê4ÔÂ9ÈÕ
                 ÀíÓÉ:filefromPathº¯ÊýÊÇÓÃÀ´¹ýÂË·¾¶£¬Ö»È¡ÎļþÃû£¬ËùÒÔÓ¦ÏÈȡ·¾¶£¬ºó¼ÓתÂë
 
     ¾­Ñé:ÔÚÎÒʹÓÃÓÐЩajax¿ò¼Üʱ£¬¹ØÓÚÖÐÎÄÂÒÂëÎÊÌâ½â¾ö£¬ÎÒÃÇ¿ÉÒÔÈ¥ÐÞ¸Äajax¿ò¼ÜÔ´Âë,ÔÚÕÒµ½»ñÈ¡Ò³ÃæÊýÖµµÄµØ·½¼ÓÉÏencodeURI(encodeURI())תÂë(Èç¹û¿ò¼ÜÓйýÂË£¬Ó¦¿¼ÂǼӵĵط½£¬ÏȹýÂË£¬ºóתÂë)¡£ÔÚ·þÎñÆ÷¶ËÎÒÃÇÒª¿¼ÂÇתºóµÄÊýÖµÒª½âÂëURLDecoder.decode()¿ÉÄÜÓÖʱҪ½â¶à´Î¡£Ô­ÒòÊÇ£¬ÎÒÃÇÐ޸Ŀò¼ÜÔ´Âëʱ£¬¿ÉÄÜÀïÃæ¶à´ÎÓÃencodeURI(encodeURI())תÂë¹ý£¬³ý·ÇÄãÈÏÕæ¿´Ô´Â뿼ÂǼӵÄ×î¼ÑλÖÃ


Ïà¹ØÎĵµ£º

AJAXÏ»ñÈ¡¸üÐÂÖµµÄÎÊÌ⣬δ½â¾ö

ʹÓÃAJAXÖеÄUpdatePanel
ÔÚUpdatePanelÖÐÌí¼ÓÒ»GridView,Ìí¼ÓÁËRow_Updatingʼþ£º protected void gvUnitList_RowUpdating(object sender, GridViewUpdateEventArgs e)
{
GridViewRow row = gvUnitList.Rows[e.RowIndex];
UnitModel unit = new UnitModel();
unit.UnitID = Convert.ToI ......

asp.net ajaxÖÐÎÄÂÒÂëµÄ½â¾ö£¿2010 01 19 12:06

asp.net ajaxÖÐÎÄÂÒÂëµÄ½â¾ö£¿
2010-01-19 12:06
ÒÔǰûÔõô×ÐϸµÄÑо¿¹ýajax,Ö»ÊÇÓõ½Á˾ÍÖ±½ÓÄùýÀ´ÓÃ,·¢ÏÖÁËÎÊÌâÔÙÕÒ½â¾ö·½·¨.ÒÔÏÂÊÇÎÒÔÚÕÒ½â¾öÎÊÌâµÄ¹ý³ÌÖеÄÒ»µãССµÄ×ܽá.
Ò».̸AjaxµÄGetºÍPostµÄÇø±ð
   Get·½Ê½:
   ÓÃget·½Ê½¿É´«Ëͼòµ¥Êý¾Ý£¬µ«´óСһ°ãÏÞÖÆÔÚ1KBÏ£¬Êý¾Ý×·¼Óµ½urlÖз¢Ë ......

ÄãÓ¦¸ÃÖªµÀµÄ20¸öAjax¼¼Êõ(01 10)


1) TextboxList×Ô¶¯Íê³É £¨Ô´Â룬ÑÝʾ£©
Õâ¸ö¿Ø¼þÖ÷ÒªÀ´×ÔFacebook°É£¬ÔÚÍøÒ×µÄÓʼþÀïÒ²ÄÜ¿´µ½£¬»¹ÓÐhotmailµÈµÈ£¬ÔÚÎı¾¿òÀïÊäÈëÎı¾²»µ«¿ÉÒÔ³öÏÖÏà¹ØÊý¾ÝµÄÁÐ±í£¬¶øÇÒÑ¡ÖкóµÄ×Ö·û´®»¹»á±ä³ÉÒ»¸öСͼ±ê¡£Õâ¸ö¿Ø¼þÖ÷ÒªÓÃÔÚµç×ÓÓʼþÖаɡ£
2) Ajax IM¼´Ê±ÁÄÌì £¨Ô´Â룬ÑÝʾ£©
Ajax IMÊÇÒ»¸öºÜÅ£µÄ¼´Ê±ÁÄÌìµÄ¿Í»§¶Ë£¬Äã ......

c#ÖеÄAjaxÉÏÊÖƪ£­£­£­·Çͬ²½ÇëÇóresponseXML

ÎÒÃÇ¿ÉÒÔʹÓÃXML×÷ΪÊý¾Ý´«ËÍ¡¢¹µÍ¨µÄ¸ñʽ£¬Ajax¿Í»§¶ËÈôÒª·¢ËÍXML£¬»ù±¾ÉϾÍÊǽ«XML×÷Ϊ×Ö·û´®£¬ÔÚPOSTÇëÇóʱ·¢ËÍ£¬ÀýÈ磺
*HelloAjax.js
view plaincopy to clipboardprint?
var xmlHttp;  
function createXMLHttpRequest() {  
    if (window.XMLHttpRequest) {   ......

´«ÖDz¥¿ÍjavaÅàѵ2010Äê4ÔÂ10ÈÕajaxÔöÇ¿×ܽá1


´«ÖDz¥¿ÍjavaÅàѵ2010Äê4ÔÂ10ÈÕajaxÔöÇ¿×ܽá1
½ñÌìµÄ¿Î£¬ÎÒÖ»ÄÜÓþªÑÈÀ´ÊµÏÖ£¬ÒòΪËäÈ»ÒÔÇ°ÎÒ×Ô¼º×ö¿ª·¢µÄʱºòÒ²»á¾­³£Óõ½javascriptÀ´×öһЩ¶«Î÷£¬²¢ÇÒÒ²ÄÜʵÏÖËùÒªÐèÒªµÄ¹¦ÄÜ×ö£¬ÎÒûÓÐÏëµ½µÄÊÇ£¬ÆäÖÐÓõ½µÄһЩ¹¦ÄܾÓÈ»¿ÉÒÔÓúܼòµ¥µÄÓïÑÔ¾ÍÄÜʵÏÖ£¬²»À¢ÊǶàÄê×ܽáÏÂÀ´µÄ¾­Ñ飡ÎÒÔÚÏëÈç¹ûÎÒÈÔ¾ÉÔÚÔ­ÏȵĸÚλÉϼÌÐø×ö ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ