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

javascript²¿·Ö¶ÔÏó

ʱ¼ä¶ÔÏó: Date()
ʹÓÃǰÐèÒªÉùÃ÷/´´½¨¶ÔÏó, var currentTime = new Date();
³£Ó÷½·¨:
getYear(); getMonth(); getDate();  getDay();  getHours();  getMinutes
(); getSeconds();  getTime(); 
setYear(); setMonth(); setDate();    setHours();  setMinutes();
setSeconds();  setTime(); 
getDay()·µ»ØµÄÊÇÐÇÆÚ¼¸, getTime()·µ»ØµÄÊÇ´Ó1970Äêµ½ÏÖÔÚËù¾­¹ýµÄºÁÃëÊý
Window¶ÔÏó:
Window¶ÔÏó³£Ó÷½·¨
alert()
open(URL,windowName,parameterList)
close()
promt(text, Defaulttext)
confirm(text)
setInterval(func, timer)
clearInterval(timer)


Ïà¹ØÎĵµ£º

javascript ÈÕÆÚÏà¼õ

<SCRIPT LANGUAGE="JavaScript"> 
  
  var strDate1 = "2003-06-17";
  var strDate2 = "2004-09-18";        
  //var strDate1 = "2003-06-17 03:03:40.0";
  //var strDate2 = "2004-09-18 12:03:12.0" ......

C# Active¿Ø¼þ£¬²¢´¥·¢javascriptʼþ

´´½¨Ò»¸öWinformÓû§¿Ø¼þ UserControl1
 using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Reflection;
namespace MyActiveT ......

Javascript¶ÔÏó£¬prototypeÁ´

DocÁ´½Ó£º http://docs.google.com/Doc?docid=0AZUdXGtQa0xqZGRocmo3MzZfMjA2Y2ZqZ2szZ2g&hl=en
¹Ø¼ü´Ê£ºJavaScript£»¶ÔÏó£»prototype£»prototypeÁ´
ÎÒÃÇÀ´´ò¸ö±È·½°É£º
Ëæ×ŸöÈ˵çÄÔÓ²¼þµÄ°×²Ë¼Û»¯£¬ºÜ¶àÓ²¼þÖÆÔìÉÌ¿ªÊ¼°ïÓû§×öÕû»úDIY¡£ÓÐʱºòÓû§¿ÉÄܻص½“×ܲ¿”È¥×°»ú£¬ÄÇÀï¶«Î÷ºÜÈ«¡£µ«Ò»°ãÕâЩ³§¼Ò ......

javascriptµ¯³öÒ»¸öÖ¸¶¨´óСµÄ´°¿Ú


Java´úÂë
<script language="JavaScript">   
function js_show(per_id)   
{   
   window.open('/weihu/person/viewResume.jsp?perID='+per_id, 'resume', 'resizable=yes,menuBar=0,toolBar=0,scrollbars=yes,width=800,height=600,left ......

¡¾×ª¡¿Javascriptº¯ÊýÖд«µÝ´ø¿Õ¸ñµÄ²ÎÊý

Javascriptº¯ÊýÖд«µÝ´ø¿Õ¸ñµÄ²ÎÊý
       ͨ³£ÔÚÒ³ÃæÖÐÒªÈÃijЩÄÚÈݵã»÷ºó²úÉúµã»÷ʼþ£¨·ÇÒ³ÃæÌø×ª£©¶¼»áʹÓÃonclick£¬µ«ÊÇÕâÑù²»ÊÊÓÚÐèÒª´«µÝ²ÎÊýµÄÇé¿ö£¬ÓÚÊÇд³ÉÖ±½Óµ÷ÓÃJavascriptº¯ÊýµÄ·½Ê½£º<a href=javascript:somefunction(args)>content</a>¡£×¢Ò⣬ÕâôдÊÇÓÐÎÊÌâµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ