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

Javascriptµ¯³ö¶Ô»°¿ò3ÖÖ·½Ê½

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>ÈýÖÖµ¯³ö¶Ô»°¿òµÄÓ÷¨ÊµÀý</title>
<script language=javascript >
     function ale()
    {
        //Õâ¸ö»ù±¾Ã»ÓÐʲô˵µÄ£¬¾ÍÊǵ¯³öÒ»¸öÌáÐѵĶԻ°¿ò
        alert("ÎÒ¸Ò±£Ö¤£¬¼ÖÅôÄãÏÖÔÚÓõÄÊÇÑÝʾһ£ºÌáÐѶԻ°¿ò");
    }
     function firm()
    {
        //ÀûÓöԻ°¿ò·µ»ØµÄÖµ£¨true »òÕß false£©
        if(confirm("ÄãÈ·ÐÅҪתȥ¼ÖÅôµÄ²©¿Í£¿"))
        {//Èç¹ûÊÇtrue £¬ÄÇô¾Í°ÑÒ³ÃæתÏòttp://hi.baidu.com/jiapeng8624237
         location.href="http://hi.baidu.com/jiapeng8624237";
        }
        else
        {
        //·ñÔò˵Ã÷ÏÂÁË£¬ºðºð……
         alert("Äã°´ÁËÈ¡Ïû£¬ÄǾÍÊÇ·µ»Øfalse");
        }
    }
   
     function prom()
    {
        var name=prompt("ÇëÊäÈëÄúµÄÃû×Ö","YoungBabyÌáÐÑÄúÔÚÕâÀïÊäÈëÄúµÄÃû×Ö");//½«ÊäÈëµÄÄÚÈݸ³¸ø±äÁ¿ name £¬
        //ÕâÀïÐèҪעÒâµÄÊÇ£¬promptÓÐÁ½¸ö²ÎÊý£¬Ç°ÃæÊÇÌáʾµÄ»°£¬ºóÃæÊǵ±¶Ô»°¿ò³öÀ´ºó£¬ÔÚ¶Ô»°¿òÀïµÄĬÈÏÖµ
        if(name)//Èç¹û·µ»ØµÄÓÐÄÚÈÝ
        {
  &nb


Ïà¹ØÎĵµ£º

javascriptЧÂʾ­Ñé̸(Ò»)

±¾ÎÄÖ÷ÒªÊdzöÓÚÓÐÅóÓÑʹÓÃÎÒÔ­À´Ð´µÄautocompleteµÄJS¿Ø¼þ¡£µ±Êý¾ÝÁ¿´óµÄʱºò£¬»á³öÏÖЧÂʼ«ÆäÂýµÄÇé¿ö£¬ÎÒÔÚÕâ¶Îʱ¼ä×ö³öµÄһЩ²âÊÔÒ²¼°Ò»Ð©¾­Ñ飬Óë´ó¼Ò·ÖÏí£¬Èç¹ûÓдíµÄµØ·½£¬»¹ÇëÖ¸³ö¡£
¾­¹ý²âÊÔ£¬ÎÒÃǻᷢÏÖÈçϵÄÇé¿ö»òÕß˵µÄ½áÂÛ£¬Èç¹ûÄúµÄ²âÊÔ½á¹ûÓëÎҵIJ»·û£¬Çë˵Ã÷Ô­Òò£¬ÒÔ±ãÏ໥ѧϰ¡£
1£©µ±Ò»¸ö½Ï´óµÄHTML×Ö· ......

Javascript ¶ÔÏóµÄ±È½Ï

Õâ¸öËæ±ÊÆäʵÊÇΪÁ˸ÐлÇå·çЦ¸øµÄÒ»¸öÌáʾ£¬²»½ö½öÊǸæËßÎÒÔõôÅжÏÊý×飬¸üÈÃÎÒÓÐÁËÈÏÕæ¶ÁÒ»¶Á ¡¶javascriptȨÍþÖ¸ÄÏ¡·µÄÏë·¨¡£
±È½ÏºÍ¿½±´ÆäʵÊÇÒ»»ØÊ£¬´úÂëÈçÏ£º
//
//Compare object function
//
function Compare(fobj,sobj)
{
    var ftype = typ ......

javascript check all and uncheck

<script language='javascript'>
function toggleAll(cb)
{
    var val = cb.checked;
    var frm = document.forms[0];
    var len = frm.elements.length;
    var i=0;
    for( i=0 ; i<len ; i++)
  &nb ......

[·­Òë]High Performance JavaScript(002)

Grouping Scripts ³É×é½Å±¾
    Since each <script> tag blocks the page from rendering during initial download, it's helpful to limit the total number of <script> tags contained in the page. This applies to both inline scripts as well as those in external files. Every time ......

[·­Òë]High Performance JavaScript(005)

µÚ¶þÕ  Data Access  Êý¾Ý·ÃÎÊ
    One of the classic computer science problems is determining where data should be stored for optimal reading and writing. Where data is stored is related to how quickly it can be retrieved during code execution. This problem in JavaScri ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ