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

¹òÇóJavaScript½âÊÍ

<html>
<head></head>
<script>
function ShowMenu(bMenu) {
document.all.idFinder.style.display = (bMenu) ? "none" : "block"
document.all.idMenu.style.display = (bMenu) ? "block" : "none"
idML.className = (bMenu) ? "cOn" : "cOff"
idRL.className = (bMenu) ? "cOff" : "cOn"
return false
}
</script>
<style>
<!--
A.cOn {text-decoration:none;font-weight:bolder}
#article {font: 12pt Verdana, geneva, arial, sans-serif;  background: white; color: black; padding: 10pt 15pt 0 5pt}
#article P.start {text-indent: 0pt}
#article P {margin-top:0pt;font-size:10pt;text-indent:12pt}
#article #author {margin-bottom:5pt;text-indent:0pt;font-style: italic}
#pageList P {padding-top:10pt}
#article H3 {font-weight:bold}
#article DL, UL, OL {font-size: 10pt}
-->
</style>
<script>
<!--
function addList(url,desc) {
if ((navigator.appName=="Netscape") || (parseInt(navigator.appVersion)>=4)) {
var w=window.open("","_IDHTML_LIST_","top=0,left=0,width=475,height=150,history=no,menubar=no,status=no,resizable=no")
var d=w.document
if (!w._init) {
d.open()
d.write("<TITLE>Loading...</TITLE><EM>Loading...</EM>")
d.close()
d.location.replace("/assist/listing.asp?url="+escape(url)+"&desc="+escape(desc)) 
w.opener=self   
window.status="Personal Assistant (Adding): " + desc
} else {
window.status=w.addOption(url,desc)   
w.focus()
}
}
else
alert("Your browser does not support the personal assistant.")
return false
}
// -->
</script>
<style>
#board {font-family: arial}
.dot {position: absolute; width: 5px; height: 5px; font-size: 0pt; background: black}
#line {position: absolute; font-size: 0pt; height: 5px}
.p1 {position: absolute; font-size: 0pt;background: navy}
.p2 {position: absolute; font-size: 0pt;  background: red}
.p1B {position: absolute; font-size: 8pt; color: navy;text-align: center; font-weight


Ïà¹ØÎĵµ£º

JavaScript HTML DOM ¶ÔÏó

³ýÁËÄÚÖÃµÄ JavaScript ¶ÔÏóÒÔÍ⣬Ä㻹¿ÉÒÔʹÓà JavaScript ·ÃÎʲ¢´¦ÀíËùÓÐµÄ HTML DOM ¶ÔÏó¡£
¸ü¶à JavaScript ¶ÔÏó
µã»÷ÒÔÏÂÁ´½Ó£¬¿ÉÒÔ»ñµÃÒÔ϶ÔÏóµÄ¸ü¶àÐÅÏ¢£¬°üÀ¨ËüÃǵļ¯ºÏ¡¢ÊôÐÔ¡¢·½·¨ÒÔ¼°Ê¼þ¡£
¶ÔÏóÃèÊö
Window
JavaScript ²ã¼¶ÖеĶ¥²ã¶ÔÏó¡£Windows ¶ÔÏó»á³ÊÏÖ (represent) Ò»¸öä¯ÀÀÆ÷´°¿Ú¡£Ã¿µ± <body& ......

javaScriptÖеıհü

JavaScriptÖеıհüÓеãÀàËÆÓÚjavaÖеľ²Ì¬·½·¨£¬¶ÔÓÚ°üÖеķ½·¨²»ÒªÈ¥ÊµÀý»¯¿ÉÒÔÖ±½ÓʹÓã¬ËüµÄ×÷·¨ÈçÏÂËùÒÔ¡£
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
< ......

Javascript¶¯Ì¬Éú³ÉÏÂÀ­Ñ¡Ïselect£©

1.ÏÈ»ñµÃselect£º
var s = document.getElementById("selectYear");
2.¿ÉÒÔÏÈÒÆ³ýÉÏ´ÎÌí¼ÓµÄoption£¨ÕâÀïҪעÒ⣬ÿ´Îɾ³ýµÄ¶¼ÊǵÚÒ»¸öÔªËØ£¬ÒòΪɾһ¸öÉÙÒ»¸ö£©£º
var l = s.options.length;
for(var i=0;i<l;i++){
    s.options.remove(0);  
}
3.Ìí¼ÓÐÂÔªËØ£¨iÊÇ×Ô¼º¶¨ÒåµÄ£¬¸ù¾Ý× ......

JavaScriptĬÈϱàÂ뷽ʽÒÔ¼°MyEclipseµÄÐÞ¸Ä


´ò¿ªÒ»¸ö js Îļþ£¬±à¼­Íê³É±£´æÊ±£¬Í»È»ÌáÐÑÏÂÃæµÄ´íÎó£º
Save could not be completed.
Reason:
Some characters cannot be mapped using “ISO-8859-1″ character encoding. Either change the encoding or remove the characters which are not supported by the “ISO-8859-1″ character ......

JavaScriptʹ¹â±ê¶¨Î»µ½Îı¾µÄ×îºó

function  setEnd(field)   {  
      if (field.createTextRange) {  
          var r = field.createTextRange();  
          r.moveS ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ