javascript ä¯ÀÀÆ÷Ò³ÃæÌø×ª
if (elename.equalsIgnoreCase("back") || elename.equalsIgnoreCase("1"))
return "<a href=\"javascript:window.history.back()\">ºóÍË</a>";
else if (elename.equalsIgnoreCase("refresh")
|| elename.equalsIgnoreCase("2"))
return "<a href=\"javascript:window.history.go(0)\">Ë¢ÐÂ</a>";
else if (elename.equalsIgnoreCase("print")
|| elename.equalsIgnoreCase("3"))
return "<a href=\"javascript:window.print();\">´òÓ¡</a>";
return "";
Ïà¹ØÎĵµ£º
css»ñÈ¡Ò³ÃæÖÐÐÄλÖÃ
.fixed
{
FONT-SIZE: 30pt;
color : #1A6841;
left:expression(eval(document.body.clientWidth)/2-150);
top:expression(eval(document.body.clientHeight)/2-25);
width:300px;
height:50px;
border:green 1px solid;
background:#99CCFF;
+position:absolute;
+left:expression(ev ......
¡¡¡¡
¡¡¡¡»ù±¾²½Öè
¡¡¡¡1£¬°ÑÐèÒªÅÅÐòµÄÐзŵ½tbodyÖУ¨³ÌÐò»áÖ±½ÓÈ¡tbodyµÄrows£©£»
¡¡¡¡2£¬°ÑÅÅÐòÐзŵ½Ò»¸öÊý×éÖУ»
¡¡¡¡this.Rows = Map(this.tBody.rows, function(o){ return o; });
¡¡¡¡3£¬°´ÐèÇó¶ÔÊý×é½øÐÐÅÅÐò£¨ÓÃÊý×éµÄsort·½·¨£©£»
¡¡¡¡this.Rows.sort(Bind(this, this.Compare, orders, 0));
¡¡¡¡4£¬Ó ......
Ò»¡¢¹¦ÄÜʵÏÖºËÐÄ£ºFileSystemObject ¶ÔÏó
ÒªÔÚjavascriptÖÐʵÏÖÎļþ²Ù×÷¹¦ÄÜ£¬Ö÷Òª¾ÍÊÇÒÀ¿¿FileSystemobject¶ÔÏó¡£
¶þ¡¢FileSystemObject±à³Ì
ʹÓÃFileSystemObject ¶ÔÏó½øÐбà³ÌºÜ¼òµ¥£¬Ò»°ãÒª¾¹ýÈçϵIJ½Ö裺 ´´½¨FileSystemObject¶ÔÏó¡¢Ó¦ÓÃÏà¹Ø·½·¨¡¢·ÃÎʶÔÏóÏà¹ØÊôÐÔ ¡£ ......
Array ¶ÔÏó
Array ¶ÔÏóÓÃÓÚÔÚµ¥¸öµÄ±äÁ¿Öд洢¶à¸öÖµ¡£
´´½¨ Array ¶ÔÏóµÄÓï·¨£º
new Array();
new Array(size);
new Array(element0, element0, ..., elementn);
²ÎÊý
²ÎÊý size ÊÇÆÚÍûµÄÊý×éÔªËØ¸öÊý¡£·µ»ØµÄÊý×飬length ×ֶν«±»ÉèΪ size µÄÖµ¡£
²ÎÊý element ..., elementn ÊDzÎÊýÁÐ±í¡£µ±Ê¹ÓÃÕâЩ²ÎÊýÀ´µ÷ ......
Document¶ÔÏóÄÚÈݼ¯ºÏ
document Îĵ²¶ÔÏó - JavaScript½Å±¾ÓïÑÔÃèÊö
———————————————————————
×¢:Ò³ÃæÉÏÔªËØnameÊôÐÔºÍJavaScriptÒýÓõÄÃû³Æ±ØÐëÒ»Ö°üÀ¨´óСд
·ñÔò» ......