Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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>
<mce:style type="text/css"><!--
body{
font-family:ËÎÌå;
font-size:9pt;
background:#EDEDED;
}
h2
{
font-weight:normal;
font-size:18px;
text-align:center;
background:#fff;
border:solid 1px #B8B8B8;
padding:15px 15px 10px 15px;
}
#InputArr
{
width: 218px;
}

#Show
{
margin-top:20px;
width:40%;
min-height:100px;
height:auto;
padding:10px;
background:white;
border:dashed 1px #B8B8B8;
}
--></mce:style><style type="text/css" mce_bogus="1">body{
font-family:ËÎÌå;
font-size:9pt;
background:#EDEDED;
}
h2
{
font-weight:normal;
font-size:18px;
text-align:center;
background:#fff;
border:solid 1px #B8B8B8;
padding:15px 15px 10px 15px;
}
#InputArr
{
width: 218px;
}

#Show
{
margin-top:20px;
width:40%;
min-height:100px;
height:auto;
padding:10px;
background:white;
border:dashed 1px #B8B8B8;
}</style>
</head>
<body>
<h2>¶¨ÒåÒ»¸ö°üº¬6¸öÔªËØµÄÕûÐÍÊý×é²¢¸³Öµ£¬È»ºóʹÓÃðÅÝÅÅÐò·¨½øÐÐÅÅÐò£¬²¢½«Ã¿Ò»ÂÖµÄÅÅÐò½á¹ûÏÔʾ³öÀ´</h2>
<mce:script type="text/javascript"><!--
//Êý×éÅÅÐòÀà
function BubleSort() {

//Êý×é³ÉÔ±
BubleSort.prototype.Nums = new Array();
//ÅÅÐòÀúÊ·¼Ç¼
BubleSort.prototype.Hostory = "";
//·ÀÖ¹Óû§Öظ´µã»÷ÅÅÐòÔì³É ÀúÊ·¼Ç¼×Ö¶ÎÖØ¸´µþ¼Ó
BubleSort.prototype.Flag = true;

//¶¨Ò帳ֵ¸ø[Êý×é³ÉÔ±]µÄ·½·¨.ÕâÀïÊÇÒÔ¿Õ¸ñÀ´·Ö¸î×Ö·û´®ÎªÊý×éµÄ
BubleSort.prototype.SetArr = function(_str)
{

//¶¨ÒåÒ»¸ö±äÁ¿»ñÈ¡·Ö¸îºóµÄÊý×é


Ïà¹ØÎĵµ£º

javascriptʵÏÖÈÕÆÚÐÇÆÚµÄÏÔʾ

<html>
<body>
<mce:script language=javascript><!--
todayDate = new Date();
date = todayDate.getDate();
month= todayDate.getMonth() +1;
year= todayDate.getYear();
document.write("½ñÌìÊÇ")
document.write("<br>")
if(navigator.appName == "Netscape")
{
document.w ......

javascript window.onload ´íÎó:ÉÐδʵÏÖ ½â¾ö°ì·¨

window.onload= someFunction();//Ò³Ãæ±¨ÉÐδʵÏÖ´íÎóʱ²»·ÀÓÃÏÂÃæµÄÊÔһϠ  
window.onload = someFunction;    
window.onload = function (){someFunction();};    
window.onload = Function("someFunction();"); ......

[JS]ÄÇЩÏà¼ûºÞÍíµÄ JavaScript ¼¼ÇÉ

http://news.csdn.net/a/20100424/218105.html
JavaScript µÄ³É¹¦ÈÃÈ˽ò½òÀÖµÀ£¬Îª Web ÍøÒ³±àд JavaScript ´úÂëÒѾ­ÊÇËùÓÐ Web Éè¼ÆÊ¦µÄ»ù±¾¹¦£¬ÕâÃÅÓÐȤµÄÓïÑÔÔ̲Ø×ÅÐí¶à²»ÎªÈËÊìÖªµÄ¶«Î÷£¬¼´Ê¹¶àÄêµÄ JavaScript ³ÌÐòÔ±£¬Ò²Î´ÄÜÍêÈ«³Ô͸¡£±¾ÎÄ´Ó7¸ö·½Ãæ½²Êö JavaScript ÖÐÄÇЩÄã²»ºÜÊìÖªµ«·Ç³£ÊµÓõļ¼ÇÉ¡£
¼òÂÔÓï¾ä ......

JavaScript½Å±¾ÓïÑÔÃèÊö£ºdocument Îĵ²¶ÔÏóÏê½â

×¢:Ò³ÃæÉÏÔªËØnameÊôÐÔºÍJavaScriptÒýÓõÄÃû³Æ±ØÐëÒ»Ö°üÀ¨´óСд
   ·ñÔò»áÌáʾÄãÒ»¸ö´íÎóÐÅÏ¢ "ÒýÓõÄÔªËØÎª¿Õ»òÕß²»ÊǶÔÏó"
---------------------------------------------------------------------
¶ÔÏóÊôÐÔ
document.title             ......

JavaScript±Ê¼Ç ÓïÑÔ»ù´¡

ÐèÒªÁ˽âµÄHTML֪ʶ
       ±êÇ© table,tr,th,td
 
ÓÃÑ­»·½øÐÐÖØ¸´²Ù×÷
       for(;;){}
 
javascript×Ö·û´®
       ÔÚjavascriptÖУ¬µÚÒ»¸ö×Ö·ûÔÚλÖÃ0ÉÏ¡£cat£¬cÔÚλÖÃ0ÉÏ£¬aÔÚλÖÃ1É ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ