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

JavaScript ÈÕÆÚת»¯

Ôõô½«ÕâÖÖÀàÐÍ
Mon Sep 15 00:00:00 CEST 2008
µÄÈÕÆÚת»¯Îª
2008-10-15



ûÈË»áÂð£¿

JScript code:
function formatDate(D)
{//µ÷Õûʱ¼äÏÔʾ¸ñʽ2007-01-01 12:00:00
return D.getFullYear() + "-" + (D.getMonth() + 1) + "-" + D.getDate() + " " + D.getHours() + ":" + D.getMinutes() + ":" + D.getSeconds();
}
alert("ת»¯Ç°£º" + new Date());
alert("ת»¯ºó£º" + formatDate(new Date()));


JScript code:

if(!Date.prototype.format){//ÈÕÆÚ¸ñʽ»¯
Date.prototype.format = function(format)
{
var o =
{
"M+" : this.getMonth()+1, //month
"d+" : this.getDate(), //day
"h+" : this.getHours(), //hour
"m+" : this.getMinutes(), //minute
"s+" : this.getSeconds(), //second
"q+" : Math.floor((this.getMonth()+3)/3), //quarter
"S" : this.getMilliseconds() //millisecond
}
if(/(y+)/.test(format))
format=format.replace(RegExp.$1,(this.getFullYear()+"").substr(4 - RegExp.$1.length));
for(var k in o)


Ïà¹ØÎÊ´ð£º

aspÖÐÓÃjavascript¶¯Ì¬¸Ä±äImageµÄsrcµÄ·¾¶ÎÊÌâ

<form id="form1" runat="server">
  <div>
  <script type="text/javascript">
  function oo(a){
  document.getEleme ......

JavaScriptÔõÑùд¹È¸èÊ×Ò³µÄ¡°¸ü¶à¡±

http://www.google.cn/
ÖеÄÄǸö¸ü¶àÓÃJavaScriptÔõôʵÏÖ?²»ÒªÓÃjQ.
HTML code:

<script type="text/javascript">
function showMenu(e) {
document.getElementById ......

javascript¶¯Ì¬Éú³É³¬Á´½Ó´«²ÎÊý

insertAuUser.jspÒ³ÃæÖÐÓиö <div id="link"> </div>£¬ÎÒÏëÓà out.print("link.innerHTML=\" <a href=' <%=request.getContextPath()%>/jsp/authority/au/auuser/next ......

javascriptʵÏÖTreeViewÑ¡ÖÐ×Ó½áµã£¬¸¸½áµãҲѡÖÐ

ÕâÀïÓÃjavascript ·½·¨ÊµÏÖÁËTreeViewµÄcheckboxÑ¡ÖеÄЧ¹û£º

1£ºÑ¡Öи¸½ÚµãµÄʱºò£¬Æä×ӽڵ㽫×Ô¶¯Ñ¡ÖУ»

2£ºÈô¸¸½Úµã²»Ñ¡ÖУ¬Æä×Ó½ÚµãҲȫ²¿Ñ¡ÖУ»

2£ºÈôÆäÖÐÒ»¸ö×Ó½ÚµãuncheckµÄʱºò£¬Æä¸¸½ ......

javascript¶¯Ì¬ÍøÒ³¿ª·¢Ïê½â ÕâÊéÔõôÑù

javascript¶¯Ì¬ÍøÒ³¿ª·¢Ïê½â  ÕâÊéÔõôÑù
Ï´ÎÏ£ÍûÄãÄܰÑÏëÎʵÄÎÊÌâ½²Çå³þ£¬²»È»ºÜÄÑÓÐÈ˻شðÄãµÄÎÊÌâ¡£
ÄãÕâÑùÎÊ»ù±¾Éϲ»Á˽âÄãÏëÒªÖªµÀЩʲô¡£
£º£©

ÊÇÕâÑùµÄ£¡
Ò»£¡£¡ÎÒ·¢ÏÖÂ¥ÉϺÍÎÒ³¤Ïà²î²»¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ