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

JavaScriptºÜƯÁÁµÄÈÕÀúÌØÐ§

<!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>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Language" content="gb2312" />
<meta content="all" name="robots" />
<meta name="author" content="RainoXu" />
<meta name="Keywords" content="">
<meta name="description" content="" />
<meta content="Xhtml+CSS,ASP,ÍøÒ³Éè¼Æ" name="keywords" />
<style type="text/css">
*{
      margin:0;
      padding:0;
      font:10px tahoma;
}
#calender{
      text-align:center;
      width:147px;
      font-size:10px;
      /*color: #27B0C1;*/
      margin:12px 0 12px 6px;
      border-top:1px solid #EEEEEE;
      border-left:1px solid #EEEEEE;
}
#calender .arrow_over{
      color: #FF1493;
}
#calender .arrow_out{
      color: #FF8C00;
}
#calender td{
      border-bottom:1px solid #EEEEEE;
      border-right:1px solid #EEEEEE;
      width:21px;
      height:20px;
      line-height:16px;
      color:#666666;
}
#calender #cal_title{
      width:147px;      background:#EFEFEF;
}
#calender #week td{
      background: #F8F8F8;
}
#calender .current{
      background: #AAE7E8;
      display: block;
    &


Ïà¹ØÎĵµ£º

ʹÓÃDisplayTagºÍJavaScript´´½¨ÔöÇ¿Ð͵ıí¸ñ


Every Web developer has to tangle with tables. A new open source library, DisplayTag, can make life with tables much more organized. Find out how to combine the DisplayTag library with JavaScript to make a slick app that displays line item details.  
by Stephen Strenn
isplaying data in a t ......

javascriptѧϰÈÕÖ¾¶þ

1¡¢ÔËËã·û++ΪÀÛ¼Ó£¬Èôx=5£¬y=++x£¬Ôòy=6£»ÔËËã·û- -ΪµÝ¼õ£¬Èôx=5£¬y=--x,Ôòy=4
2¡¢Ìõ¼þÔËËã·û£ºgreeting=(visitor= =”PRES”)?”Dear President”:”Dear”;
Èç¹û±äÁ¿visitorÖеÄÖµÊÇ“PRES”£¬ÔòÏò±äÁ¿greeting¸³Öµ“Dear President”,·ñÔò¸³Öµ“Dear” ......

JavaScriptÔÓ̸

1¡¢JS½âÊÍ˳Ðò
JavaScriptÊǰ´HTMLÎĵµÁ÷˳ÐòÖ´Ðе쬷Ö<script>¿é˳ÐòÖ´ÐУ¬JSÊÇÏÈÔ¤±àÒëÔÙÖ´ÐУ¬È»ºóÔٱ߱àÒë±ßÖ´ÐеÄÓïÑÔ£¬ÀýÈ磺
alert(a);   //undefined
var a = 1;
alert(a);  //1
Ϊʲô»á³öÏÖÉÏÊö½á¹ûÄØ£¿
´ð°¸£ºa±äÁ¿ÔÚÔ¤±àÒëµÄʱºò£¬ÒѾ­´æÔÚÄÚ´æÖУ¬È»ºóJSÒýÇæ¿ªÊ¼Ö´ÐÐJS´úÂë£ ......

javascriptÍøÒ³¶Ô»°¿ò²ÎÊýÏê½â

N.1 »ù±¾½éÉÜ£º
    * showModalDialog() (IE 4+ Ö§³Ö)£¬ÓÃÀ´´´½¨Ò»¸öÏÔʾHTMLÄÚÈݵÄģ̬¶Ô»°¿ò¡£
    * showModelessDialog() (IE 5+ Ö§³Ö) £¬ÓÃÀ´´´½¨Ò»¸öÏÔʾHTMLÄÚÈݵķÇģ̬¶Ô»°¿ò¡£
N.2 ʹÓ÷½·¨£º
    * vReturnValue = window.showModalDialog(sURL [, vArgument ......

javascript ÔÚ ie ºÍ firefox Çø±ð

1.document.formName.item("itemName") ÎÊÌâ
˵Ã÷:IEÏÂ,¿ÉÒÔʹÓÃdocument.formName.item("itemName")»òdocument.formName.elements["elementName"];FirefoxÏÂ,Ö»ÄÜʹÓÃdocument.formName.elements["elementName"].
½â¾ö·½·¨:ͳһʹÓÃdocument.formName.elements["elementName"].
JQUERY:
$("#idName")
  &nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ