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

vbscriptºÍjavascript»¥Ïàµ÷Ó÷½·¨


  
¹Ø¼ü×Ö     vbscript,javascript,µ÷Óà
  
vbscriptºÍjavascript»¥Ïàµ÷Ó÷½·¨
¡¡¡¡ASP¾ß±¸¹ÜÀí²»Í¬ÓïÑԽű¾³ÌÐòµÄÄÜÁ¦£¬Äܹ»×Ô¶¯µ÷ÓúÏÊʵĽű¾ÒýÇæÒÔ½âÊͽű¾´úÂëºÍÖ´ÐÐÄÚÖú¯Êý¡£ASP¿ª·¢»·¾³ÌṩÁËÁ½Öֽű¾ÒýÇ棬¼´VBScript£¨È±Ê¡£©ºÍJScript¡£²»¹ý£¬¿ª·¢Õß²¢Ã»Óб»ÏÞÖÆÓÚÖ»ÄÜʹÓÃÕâÁ½ÖÖÓïÑÔ£¬Ö»ÒªÄܹ»ÌṩºÏÊʵÄActiveX½Å±¾ÒýÇæ¾ÍÄÜʹÓÃÈκνű¾ÓïÑÔ¡£ 
¡¡¡¡½Å±¾ÓïÑÔµÄÑ¡ÔñÍùÍù»ùÓÚÐí¶à²»Í¬Ô­Òò£ºËü¿ÉÄÜÊÇ¿ª·¢Õß×îΪÊìϤµÄÓïÑÔ£¬¿ÉÄÜÊǶԸø¶¨¹¤³ÌÀ´ËµÄܹ»Ìṩ×î¶àÌØÉ«Ö§³ÖµÄ£¬Ò²ÓпÉÄÜÊÇ×î¾ßЧÂʵġ£²»Í¬µÄ»·¾³ºÍÒªÇóʹµÃÎÒÃÇÔÚÑ¡Ôñ½Å±¾ÓïÑÔʱעÖز»Í¬µÄÒòËØ£¬Í¬Ê±Ò²Ê¹µÃÎÒÃÇÔÚijЩʱºòÃæÁÙÑ¡¶¨µÄ½Å±¾ÓïÑÔ²»ÄÜÖ±½ÓÌṩÆäËüÓïÑÔ¹ÌÓеĺ¯ÊýÕâÒ»ÎÊÌ⣬»òij¸ö½Å±¾ÒѾ­Ð´³Éµ«ÓõÄÈ´ÊÇÁíÍâÒ»Öֽű¾ÓïÑÔ¡£ 
¡¡¡¡´ËʱӦ¸ÃÔõô°ì£¿ÊÇ·ñÐèÒªÓõ±Ç°ËùÓõĽű¾ÓïÑÔÖØдÕâЩ½Å±¾£¿»òÕß˵£¬ÊÇ·ñÓпÉÄÜÔÚÒ»Öֽű¾ÓïÑÔÖе÷ÓÃÆäËü½Å±¾ÓïÑÔµÄÄÚÖú¯Êý£¿±¾ÎÄҪ˵Ã÷µÄ¾ÍÊÇÔÚASPÓ¦ÓÃÖÐÈçºÎÈÃVBScript½Å±¾ºÍJScript½Å±¾½»»¥ÒÔ×î´óÏ޶ȵػñµÃÁ½Öֽű¾ÓïÑÔµÄÌØÉ«Ö§³Ö¡£ 
¡¡¡¡Ò»¡¢VBScriptºÍJScriptµÄÄÚÖú¯Êý 
¡¡¡¡ÔÚVBScriptºÍJScriptÖУ¬ÓдóÁ¿µÄÄÚÖú¯Êý¹¦ÄÜÊÇÏàͬ»òÀàËƵġ£È»¶ø£¬ÔÚÒ»Öֽű¾ÓïÑÔÖÐÄÚÖõĺ¯Êý²¢·Ç×ÜÊÇÔÚÁíÍâÒ»Öֽű¾ÓïÑÔÖÐÒ²ÓжÔÓ¦µÄº¯Êý¡£ÀýÈ磬VBScriptÌṩÁËÐí¶àÓÃÓÚ²Ù×÷×Ö·û´®ºÍ¸ñʽ»¯Êý¾ÝµÄº¯Êý£¬ÕâЩº¯ÊýÔÚJScriptÖв¢²»´æÔÚ¡£ÕâЩº¯Êý°üÀ¨StrReverse()¡¢Filter()ÒÔ¼°FormatCurrency()µÈ¡£ÔÚÁíÒ»·½Ã棬JScriptËùÌṩµÄÓÃÓÚ¹ÜÀíÊý×é¡¢×Ö·û´®±àÂëµÈµÄº¯ÊýÔÚVBScriptÖÐҲûÓж¨Ò壬Èçjoin()¡¢reverse()¡¢pow()¡¢Î»²Ù×÷¡¢escape()ºÍunescape()µÈ¡£ 
¡¡¡¡ÄÇô£¬Èç¹ûÔÚJScript³ÌÐòÖÐÐèÒªÒ»¸öVBscriptº¯Êý¸ÃÔõô°ìÄØ? 
¡¡¡¡¶þ¡¢ÒìÖֽű¾µÄ»¥Ïàµ÷Óà
¡¡¡¡Èç¹ûÐèÒªÔÚJScript½Å±¾Öе÷ÓÃÒ»¸öVBScriptÖÐÄÚÖõĺ¯Êý£¬ÔòÓ¦¸Ãдһ¸öVBScriptÓû§¶¨Ò庯Êý£¨ÔÚÕâÀïµ÷ÓÃVBScriptÄÚÖú¯Êý£©£¬È»ºóÔÚJScript½Å±¾ÖÐÏóµ÷Óù«ÓÃJScriptº¯ÊýÒ»Ñùµ÷ÓÃÕâ¸öÓû§¶¨Ò庯Êý¡£ 
¡¡¡¡ÀýÈ磬Èç¹ûÒªµ÷ÓõÄVBSCriptÄÚÖú¯ÊýÊÇFormatCurrency()£¬Ôò¿ÉÒÔÉùÃ÷ÈçÏÂ×Ô¶¨Ò庯Êý£º 
¡¡¡¡<SCRIPT LANGUAGE="VBSCRIPT" RUNAT="SERVER">
¡¡¡¡Function FormatValue(Value) 
¡¡¡¡¡¡¡¡FormatValue = FormatCurrency(Value)
¡¡¡¡End&nbs


Ïà¹ØÎĵµ£º

Java,JavaScript,JScript Çø±ð

ÕâÈý¸öÓïÑÔ·Ö±ðÊÇÈý¸ö¹«Ë¾¿ª·¢µÄ£¬SUNµÄJava£¬NetscapeµÄJavaScript£¬MicrosoftµÄJScript
JavaScriptÊÇÓÉNetscape¹«Ë¾¿ª·¢²¢ËæNavigatorµ¼º½ÕßÒ»Æð·¢²¼µÄ¡¢½éÓÚJavaÓëHTMLÖ®¼ä¡¢»ùÓÚ¶ÔÏóʼþÇý¶¯µÄ±à³ÌÓïÑÔ£¬²»ÐèÒªJava±àÒëÆ÷£¬¶øÊÇÖ±½ÓÔËÐÐÔÚWebä¯ÀÀÆ÷ÖУ¬ËüµÄÇ°ÉíÊÇLive Script¡£
JScriptÊÇÒ»ÖÖÀàËÆJavaScriptµÄÓïÑÔ¡ ......

javascript±àдweb×é¼þ£º¶à¼¶²Ëµ¥

    ÔÚwebÉϱàд²Ëµ¥Ò»Ö±ÊDZȽÏÍ·ÌÛµÄÊÂÇ飬ҪÊÇÓиöÀàÖ±½ÓÌ×ÓþͺÃÁË£¬×î½üÓÖÒª×öÍøÕ¾ÁË£¬·³ÈË£¬ÒªÇó×öµÄ»¹ÊǶ༶²Ëµ¥£¬°¦£¬·Ï»°ÉÙ˵£¬Óöµ½ÎÊÌâ¾ÍÒª½â¾ö°¡£¬¿´´úÂ룺
   function is(e, handler) {  
    if (e.type != 'mouseout' && e.type != 'mouseover ......

[JavaScript]ÀàÖ®Èý


Ïê½âjavascriptÀà¼Ì³Ð»úÖƵÄÔ­Àí
Ä¿Ç° javascriptµÄʵÏּ̳з½Ê½²¢²»ÊÇͨ¹ý“extend”¹Ø¼ü×ÖÀ´ÊµÏֵģ¬¶øÊÇͨ¹ýconstructor functionºÍprototypeÊôÐÔÀ´ÊµÏּ̳С£Ê×ÏÈÎÒÃÇ´´½¨Ò»¸öanimalÀà
js ´úÂë
 
 var animal = function(){  //Õâ¾ÍÊÇconstructor function ÁË&nbs ......

ÓÃJavaScript·â×°ÏÂFileSystemObject£¬×öÏÂÎļþ²Ù×÷£¡

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor
 */
var File = {
    name:'',
    path:'',
    ext:'',
    cfiles:[],
    attributes:{
    ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ