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

¹ØÓÚjavascriptÅжÏÎļþ´óС

<script type="text/javascript">  
function getFileSize(filePath) {  
   var image=new Image();  
   image.dynsrc=filePath;  
   alert(image.fileSize);  
}  
</script>  
<body>  
<INPUT TYPE="file" NAME="file" SIZE="30" onchange="getFileSize(this.value)">  
</body>


Ïà¹ØÎĵµ£º

JavascriptÖеÄarguments ¶ÔÏó


function
 fn(a,b,c)
{
    
var
 s 
=
 
""
;
    
var
 i;
    s 
+=
 
"
º¯Êý´«Èë²ÎÊý¸öÊý:
"
 
+
 fn.arguments.length 
+
 
"
\n
" ......

javascript µ¼³öÊý¾Ýµ½Excel£¨´¦ÀítableÖеÄÔªËØ£©

×î½ü×öµÄÏîÄ¿ÖÐÓиöÒªÇó£¬ÐèÒª½«Êý¾Ýµ¼³öµ½ExcelÖУ¬¹ØÓÚÕâ¸ö¾Í²»ÊÇʲôÎÊÌâ£¬ÍøÉϵÄ×ÊÁϺܶࡣ¿Éµ±TableÖÐÓÐInput(text)Ö®ÀàµÄÔªËØÊÇÔõô°ì£¿
×ö·¨£º
       ÐÞ¸ÄInputµÄouterHTML;
¾ßÌåÀý×Ó£º
function resetInput()
    {
      &nbs ......

javaScriptÈçºÎ¼àÌýä¯ÀÀÆ÷¹Ø±Õʼþ

×î½üд¶«Î÷µÄʱºò·¢ÏÖÐèÒª¶Ôä¯ÀÀÆ÷µÄ¹Ø±Õ½øÐмàÌý,µ±Óû§¹Ø±ÕµÄʱºòÐèÒªµ÷ÓÃsession.invalid();Çå¿ÕsessionÐÅÏ¢,µ«ÊÇ×Ðϸһ²éÊֲᷢÏÖÎÞÂÛÊÇbody»¹ÊÇwindow¶¼Ã»ÓÐoncloseʼþ,Ö®ºóonload,onunload,beforeunloadÈý¸öʼþ
È»¶øÈý¸öʱ¼äÎÞÂÛÊÇÄĸö¶¼ÎÞ·¨µ¥¶À½â¾öµ¥¶À¼àÌýä¯ÀÀÆ÷¹Ø±ÕµÄʼþ,ÒòΪÔÚä¯ÀÀÆ÷Õý³£ÔËÐÐʱÏȼÓÔØµÄÊÇbe ......

È«ÃæÊµÓõÄJavaScript¹¤¾ßÁбí

   ÔÚ½ñÌìÍøÂ翪·¢·½Ã棬JavaScriptÆðÁ˺ܹؼüµÄ×÷Óã»ÏñjQuery, MooTools, PrototypeµÈµÈJavaScript¿ò¼ÜÒÔ¼°ÆäËüJavaScriptÀà¿âÈÃÎÒÃǵÄÉú»îÇáËÉÁ˲»ÉÙ¡£µ«ÊÇËæ×ÅRich Internet Applications(RIA)µÄÃæÊÀ¼°Ñ¸ËÙÓ¦Óã¬Êéд¸üÇ¿´ó£¬¸ü¼áʵ¿É¿¿µÄJavaScriptµÄÐèÒªÈÕÒæÆÈÇС£
  
 
²»¹ÜÄãÊÇJavaSc ......

JavaScript¶ÔÏóÄ£ÐÍ Ö´ÐÐÄ£ÐÍ

Êý¾ÝÀàÐÍ
»ù±¾Êý¾ÝÀàÐÍ
»ù±¾Êý¾ÝÀàÐÍÊÇJSÓïÑÔ×îµ×²ãµÄʵÏÖ¡£
¼òµ¥ÊýÖµÀàÐÍ: ÓÐUndefined, Null, Boolean, NumberºÍString¡£×¢Ò⣬ÃèÊöÖеÄÓ¢Îĵ¥´ÊÔÚÕâÀï½öÖ¸Êý¾ÝÀàÐ͵ÄÃû³Æ£¬²¢²»ÌØÖ¸JSµÄÈ«¾Ö¶ÔÏóN an, Boolean, Number, StringµÈ£¬ËüÃÇÔÚ¸ÅÄîÉϵÄÇø±ðÊDZȽϴóµÄ¡£
¶ÔÏó: Ò»¸öÎÞÐòÊôÐԵļ¯ºÏ£¬ÕâЩÊôÐÔµÄֵΪ¼òµ¥ÊýÖµÀ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ