(ת)¿Í»§¶ËÑéÖ¤ÉÏ´«Îļþ´óС(¼æÈÝIEºÍ»ðºü)
¿Í»§¶ËÑéÖ¤ÉÏ´«Îļþ´óС,ÔÚIEÏÂÃæ¿ÉÒԺܼòµ¥£¬µ«ÊÇÐèÒªÐÞ¸ÄActiveX°²È«ÉèÖá£Í¬Ê±»ðºü²»Ö§³ÖActiveX¡£ÓÚÊÇÕâ¸öÎÊÌâ¾Í±äµÃ¼¬ÊÖÁË¡£ ½â¾öÕâ¸öÎÊÌâµÄÖ±½Ó˼·£º1.»ñµÃÎļþ·¾¶ÒÔºóʹÓÃAJAXÑéÖ¤Îļþ´óС£»2.²é¿´ä¯ÀÀÆ÷ÄÚ²¿ÊôÐÔ·½·¨¿´¿´µ½µ×ÊÇ·ñÖ§³Ö¶ÁÈ¡±¾µØÎļþ´óС¡£
µÚÒ»ÖÖ˼·£ºÊ×ÏÈ»ñÈ¡ÉÏ´«¿Ø¼þµÄÖµ£¨Õâ¸öÖµ¾ÍÊÇÉÏ´«ÎļþÔÚ±¾µØµÄ·¾¶£©£¬Í¨¹ýAJAXÔÚºǫ́¿ÉÒÔÇáÒ׵ĵõ½ÎļþÏêϸÐÅÏ¢£¬Ö®ºóÔÙÀûÓûص÷º¯Êý×öһЩ ´¦Àí¹¤×÷¡£ÕâÖÖ˼·µÄ¹Ø¼üÔÚÓÚ--ÈçºÎµÃµ½Õâ¸öÎļþ·¾¶¡£ÉÔ΢Óеã¾ÑéµÄÈ˶¼ÖªµÀ£¬Í¨¹ýÉÏ´«¿Ø¼þµÄid.valueÊǵò»µ½ÕæʵµÄÎļþ·¾¶£¬ie7ºÍ ie8ÔÚ·¾¶ÀïÃæ¼ÓÈëÁËfakepath£¨Ö»ÄÜ¿´¼ûÅÌ·û¡¢fakepath¡¢ÎļþÃû£©¶ø»ðºü¸üºÝ£¬Ö±½ÓµÃµ½µÄÊÇÎļþÃû¡£µ±È»ÉÏÊö½áÂÛ¶ÔIE6ÎÞЧ¡£
ÓÚÊÇÕâ¸ö˼·»¹ÐèÒªºÃºÃÑо¿£¬Ì½Ë÷Ò»·¬·¢ÏÖIE7ºÍIE8»ñµÃÎļþ·¾¶»¹ÊÇÓз½·¨µÄ£ºfileupload.select();
var path=document.selection.createRange().text¡£
Õâ
¸ö·½·¨»¹Ã»ÓÐ×ÐϸÑо¿£¬´Ó×ÖÃæÉÏ¿´ËƺõÊÇÏȰѿؼþÑ¡Ôñ£¬È»ºóÔÙͨ¹ýijÖÖ·½Ê½°ÑÑ¡ÖеÄÖµÕÒ³öÀ´¡£¡£¡££¨~~£¬ÖªµÀµÄÈË˳±ã¸æ֪ϣ©¡£ÕâÏÂ×Ó¾ÍÖ»ÐèÒª¸ã¶¨»ðºü
ÁË¡£baidu·¢ÏÖ»ðºü»ñȡ·¾¶»¹ºÜÂé·³£¬Éæ¼°µ½±àÂëÎÊÌ⣬ÕÒÁ˼¸¸ö´ð°¸¶¼ËµµÃ²»Ã÷²»°×¡£Ïл°Ò»¶Î£º¸Ð¾õËÑË÷ÒýÇæËÑË÷רҵÎÊÌⶼºÜÎÞÄÜΪÁ¦£¬baiduÈç
´Ë£¬googleÒ²Èç´Ë¡£²»¹ýÕâҲ˵Ã÷ÁËËÑË÷ÒýÇæµÄδÀ´»¹¿ÉÒÔ±äµÃ¸üºÃ¡£ÎÞÄÎÖ®ÏÂתÏòµÚ¶þÖÖ˼·£º²é¿´¸÷ä¯ÀÀÆ÷µÄÄÚ²¿ÊµÏÖ£¬¿´¿´ÊDz»ÊÇÓÐʲô·½·¨»òÕßÊôÐÔ
Ö±½Ó¶ÁÈ¡ÉÏ´«ÎļþµÄ´óС¡£Ê×ÏÈÔÚIE8µÄ¿ª·¢ÈËÔ±¹¤¾ß϶ϵãµ÷ÊÔ£¬¶ÔfileuploadµÄÊôÐԺͷ½·¨Ò»¸ö¸öµÄÕÒ£¬ºÁÎÞÐüÄîµÄÎÞ¹û¡£ÓÚÊDz»Ãâ̾Æø£¬IE7
ºÍIE8¶¼¾ÓÈ»¶ÔJS·ÃÎʱ¾µØÎļþ×ö³öÕâôÑϸñµÄÏÞÖÆ£¬Ï뵱ȻµØÒÔΪ»ðºü¿Ï¶¨Ò²²»ÐУ¡µ«ÊÇ»¹ÊDz»ËÀÐÄ£¬»¹ÊÇÕÒÕÒ¿´¡£ÓÚÊÇÄÃÆðFireBugÓÖÊÇÒ»·¬µ÷ÊÔ£¬
¹ûÈ»»ÊÌì²»¸ºÓÐÐÄÈË£¬×îºóÖÕÓÚÈøçÕÒµ½ÁËÕâ¸öÊôÐÔ£º var size=fileupload.files[0].fileSize;
ÔÀ´»ðºü¾ÓÈ»¿ÉÒÔÖ±½Ó¶Á³öÎļþ´óС£¬ÁîÈ˾ªÌ¾°¡£¡¿ÉϧÔÚÍøÂçÉϲ¢Ã»Ïë·¢ÏÖÆäËûÈËÓÐÀàËÆ·¢ÏÖ»òÕß½éÉÜ£¬ÓÚÊÇÂíÉÏдÁË´ËÎÄ¡£ÓÚÊÇÉÔ΢ÕûÀíÁËһϷ¢Á˸ö DEMO£¬AJAXÓõÄÊÇPageMethods£¬²»»áµÄ¿ÉÒԲο¼ÎÒµÄÕâƪÎÄÕ£ºASP.NET Ajax Ö® Page Methods
Ò³Ãæ´úÂ룺
ÍƼöÐÅÏ¢
- jqueryʵÏÖÍøվͼƬÀÁ¼ÓÔØ´úÂë
- jQuery Tooltips²å¼þ
- jQueryµÄ.bind()¡¢.live()ºÍ.delegate(....
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- Ä㲻ϲ»¶»ðºü£¬µ«ÓÖϲ»¶firebug£¬ÄǾ͸úÎÒÒ»ÆðÀ´ÔÚIEÉÏ....
- ¸ù¾ÝÏÔʾÆ÷·Ö±æÂʵ÷ÕûÒ³ÃæÏÔʾµÄJavascript½Å±¾
- jQuery дµÄ·ÂÐÂÀË΢²© ÏòϹö¶¯Ð§¹û¡¾×ªÔØ¡¿
- ͨÓõÄJqueryÑ¡ÔñÆ÷
- jQuery ½áºÏ Json Ìá½»Êý¾Ýµ½Webservice£¬....
- ×ÔÖÆjQueryÖÇÄÜÌáʾ²å¼þһö
ÈÈÃÅÐÅÏ¢
- nohup: redirecting stderr to stdou....
- ʹÓÃlog_formatΪNginx·þÎñÆ÷ÉèÖøüÏêϸµÄÈÕÖ¾¸ñʽ
- jquery easyUI--dataGrid-Json
- [Ô´´]·ÂGoogle Reader¡¢ÐÂÀË΢²©¡¢ÌÚѶ΢²©µ....
- ÀûÓÃKeepalived+mysql¹¹½¨¸ß¿ÉÓÃMySQLË«Ö÷×Ô¶....
- Nginx+keepalivedʵÏÖ¸ºÔؾùºâºÍË«»úÈȱ¸¸ß¿ÉÓÃ
- jqueryʵÏÖÒ³Ãæ¼ÓÔؽø¶ÈÌõ
- Rolling cURL: PHP²¢·¢×î¼Ñʵ¼ù
- codeigniter ·ÓÉÖÕ¼«ÓÅ»¯(url rewrite)
- linuxÏÂÉèÖÃsshÎÞÃÜÂëµÇ¼
×î½ü¸üÐÂ
- js»ñÈ¡srcÖд«µÝµÄ²ÎÊý
- jqueryʵÏÖÍøվͼƬÀÁ¼ÓÔØ´úÂë
- ÈÃä¯ÀÀÆ÷ÆÁ±ÎµôJavaScriptµÄ³ö´íÌáʾ
- github²»ÄܼÓÔØcss¡¢js½â¾ö°ì·¨
- ÎÒÖªµÀµÄJavaScript -- Éè¼Æģʽ(ÇŽÓ)Ó¦ÓÃÖ® ¨C ....
- 15¸öÖµµÃ¿ª·¢ÈËÔ±¹Ø×¢µÄjQuery¿ª·¢¼¼ÇɺÍÐĵÃ
- dz̸JavascriptÃæÏò¶ÔÏó±à³Ì
- JS¼òµ¥¶¯»·â×°
- JavaScript³õѧÕßӦעÒâµÄÆ߸öϸ½Ú
- jQuery Tooltips²å¼þ
ÆÀÂÛ