JavaScript ÈÕÀú
html:
<html>
<head>
<title>calendaragain</title>
<link rel=stylesheet href="calendaragain.css">
<script type = "text/javascript">
//show the all page
function allpage()
{
timeintext();
getnowtimeagain();//for change month and year
timeintable();
}
/*
time in text
*/
var nowTime,nowTimeYear,nowTimeMonth,nowTimeDate,nowTimeHours,nowTimeMinutes,nowTimeSeconds;
var nowTimeShowInText;
//set the nowtime in the text
function timeintext()
{
//get nowtime
nowTime = new Date();
nowTimeYear = nowTime.getFullYear(); //now Year
Ïà¹ØÎĵµ£º
½ûÖ¹Ò³ÃæˢеÄjavascript´úÂë
µ±Óû§ÏòÊý¾Ý¿âÌá½»Êý¾Ýºó,ÍùÍùÓÉÓÚµã»÷ÁËF5Ë¢ÐÂÒ³Ãæ,Ôì³ÉÊý¾ÝµÄÖظ´Ìá½»,ºÜÈÝÒ×Ôì³ÉÊý¾Ý¿âÊý¾Ý»ìÂÒ.
Èç¹ûÆÁ±ÎÁËˢа´Å¥,¶þ´ÎÌá½»µÄ¿ÉÄÜÐÔ»áСºÜ¶à!
ÏÂÃæÊǽûÖ¹Ò³ÃæˢеÄjavascript´úÂë:
document.onkeydown = function()
{
if(ev ......
±¾ÎÄÖ÷ÒªÊdzöÓÚÓÐÅóÓÑʹÓÃÎÒÔÀ´Ð´µÄautocompleteµÄJS¿Ø¼þ¡£µ±Êý¾ÝÁ¿´óµÄʱºò£¬»á³öÏÖЧÂʼ«ÆäÂýµÄÇé¿ö£¬ÎÒÔÚÕâ¶Îʱ¼ä×ö³öµÄһЩ²âÊÔÒ²¼°Ò»Ð©¾Ñ飬Óë´ó¼Ò·ÖÏí£¬Èç¹ûÓдíµÄµØ·½£¬»¹ÇëÖ¸³ö¡£
¾¹ý²âÊÔ£¬ÎÒÃǻᷢÏÖÈçϵÄÇé¿ö»òÕß˵µÄ½áÂÛ£¬Èç¹ûÄúµÄ²âÊÔ½á¹ûÓëÎҵIJ»·û£¬Çë˵Ã÷ÔÒò£¬ÒÔ±ãÏ໥ѧϰ¡£
1£©µ±Ò»¸ö½Ï´óµÄHTML×Ö· ......
///
<summary>
///
һЩ³£ÓõÄJavascript·½·¨
///
</summary>
public
static
class
Jscript
{
///
<summary>
///
µ¯³öÌáʾ¿ò
///
</summary>
public
static
void
Alert(Page page ......
javascript ¿ØÖÆ htmlÔªËØ ÏÔʾ/Òþ²Ø
1¡£±àдjsº¯Êý
<script type="text/javascript">
function display(y){$(y).style.display=($(y).style.display=="none")?"":"none";}
function $(s){return document.getElementById(s);}
</script>
2. ÒªÏÔÊ ......