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

JavaScript ʼþ·½·¨

JavaScript ʼþ·½·¨
http://www.webdeveloping.cn/blog/?action=show&id=207
ʼþÔ´¶ÔÏó
event.srcElement.tagName
event.srcElement.type
²¶»ñÊÍ·Å
event.srcElement.setCapture();
event.srcElement.releaseCapture();
ʼþ°´¼ü
event.keyCode
event.shiftKey
event.altKey
event.ctrlKey
ʼþ·µ»ØÖµ
event.returnValue
Êó±êλÖÃ
event.x
event.y
´°Ìå»î¶¯ÔªËØ
document.activeElement
°ó¶¨Ê¼þ
document.captureEvents(Event.KEYDOWN);
·ÃÎÊ´°ÌåÔªËØ
document.all("txt").focus();
document.all("txt").select();
´°ÌåÃüÁî
document.execCommand
´°ÌåCOOKIE
document.cookie
²Ëµ¥Ê¼þ
document.oncontextmenu
´´½¨ÔªËØ
document.createElement("SPAN");
¸ù¾ÝÊó±ê»ñµÃÔªËØ£º
document.elementfromPoint(event.x,event.y).tagName=="TD
document.elementfromPoint(event.x,event.y).appendChild(ms)
´°ÌåͼƬ
document.images[Ë÷Òý]
´°Ìåʼþ°ó¶¨
document.onmousedown=scrollwindow;
ÔªËØ
document.´°Ìå.elements[Ë÷Òý]
¶ÔÏó°ó¶¨Ê¼þ
document.all.xxx.detachEvent('onclick',a);
²å¼þÊýÄ¿
navigator.plugins
È¡±äÁ¿ÀàÐÍ
typeof($js_libpath)=="undefined"
ÏÂÀ­¿ò
ÏÂÀ­¿ò.options[Ë÷Òý]
ÏÂÀ­¿ò.options.length
²éÕÒ¶ÔÏó
document.getElementsByName("r1");
document.getElementById(id);
¶¨Ê±
timer=setInterval('scrollwindow()',delay);
clearInterval(timer);
UNCODE±àÂë
escape(),unescape
¸¸¶ÔÏó
obj.parentElement(dhtml)
obj.parentNode(dom)
½»»»±íµÄÐÐ
TableID.moveRow(2,1)
Ìæ»»CSS
document.all.csss.href="a.css";
²¢ÅÅÏÔʾ
display:inline
Òþ²Ø½¹µã
hidefocus=true
¸ù¾Ý¿í¶È»»ÐÐ
style="word-break:break-all"
×Ô¶¯Ë¢ÐÂ
<metaHTTP-EQUIV="refresh"CONTENT="8;URL=http://c98.yeah.net">
¼òµ¥Óʼþ
<ahref="mailto:aaa@bbb.com?subject=ccc&body=xxxyyy">
¿ìËÙתµ½Î»ÖÃ
obj.scrollIntoView(true)
ê
<aname="first">
<ahref="#first">anchors</a>
ÍøÒ³´«µÝ²ÎÊý
location.search();
¿É±à¼­
obj.contenteditable=true
Ö´Ðв˵¥ÃüÁî
obj.execCommand
Ë«×Ö½Ú×Ö·û
/[^\x00-\xff]/
ºº×Ö
/[\u4e00-\u9fa5]/
ÈÃÓ¢ÎÄ×Ö·û´®³¬³ö±í¸ñ¿í¶È×Ô¶¯»»ÐÐ
word-wrap:break-word;word-break:break-all;
͸Ã÷±³¾°
<


Ïà¹ØÎĵµ£º

¡¶Îò͸javascript¡·Ñ§Ï°±Ê¼Ç£ºÎå¡¢ÆæÃîµÄ¶ÔÏó

ÒýÑÔ
 
ÈκÎÒ»¸öº¯Êý¶¼¿ÉÒÔΪÆ䶯̬µØÌí¼Ó»òÈ¥³ýÊôÐÔ£¬ÕâЩÊôÐÔ¿ÉÒÔÊǼòµ¥ÀàÐÍ£¬¿ÉÒÔÊǶÔÏó£¬Ò²¿ÉÒÔÊÇÆäËûº¯Êý¡£Ò²¾ÍÊÇ˵£¬º¯Êý¾ßÓжÔÏóµÄÈ«²¿ÌØÕ÷£¬ÄãÍêÈ«¿ÉÒ԰Ѻ¯Êýµ±¶ÔÏóÀ´Óá£Æäʵ£¬º¯Êý¾ÍÊǶÔÏó£¬Ö»²»¹ý±ÈÒ»°ãµÄ¶ÔÏó¶àÁËÒ»¸öÀ¨ºÅ“()”²Ù×÷·û£¬Õâ¸ö²Ù×÷·ûÓÃÀ´Ö´Ðк¯ÊýµÄÂß¼­¡£¼´£¬º¯Êý±¾Éí»¹¿ÉÒÔ±»µ÷ ......

¡¶Îò͸javascript¡·Ñ§Ï°±Ê¼Ç£º¾Å¡¢Ô­Ðͱ϶

ÒýÑÔ
 
      prototypeÔ´×Ô·¨ÓÈí¼þ½çµÄ±ê×¼·­ÒëΪ“Ô­ÐÍ”£¬´ú±íÊÂÎïµÄ³õʼÐÎ̬£¬Ò²º¬ÓÐÄ£ÐͺÍÑù°åµÄÒâÒå¡£
 
prototypeÊôÐÔ
 
JavaScriptµÄËùÓÐfunctionÀàÐ͵ĶÔÏó¶¼ÓÐÒ»¸öprototypeÊôÐÔ¡£Õâ¸öprototypeÊôÐÔ±¾ÉíÓÖÊÇÒ»¸ö object ÀàÐ͵ĶÔÏó£¬Òò´ËÎÒÃÇÒ²¿ÉÒÔ¸ ......

¡¶Îò͸javascript¡·Ñ§Ï°±Ê¼Ç£ºÊ®¡¢Ô­ÐÍÀ©Õ¹

ÒýÑÔ
 
Ïë±Ø¾ýµÄÎòÐÔ¼«¸ß£¬¿ÉÄÜÄã»áÕâÑùÏ룺Èç¹ûÔÚJavaScript ÄÚÖõÄÄÇЩÈçObject ºÍFunctionµÈº¯ÊýµÄprototypeÉÏÌí¼ÓЩеķ½·¨ºÍÊôÐÔ£¬ÊDz»ÊǾÍÄÜÀ©Õ¹JavaScriptµÄ¹¦ÄÜÄØ£¿
    ÄÇô£¬¹§Ï²Ä㣬ÄãµÃµ½ÁË£¡
 
±Õ°üÄ£ÐÍ
 
<script language="javascript">
function person(){& ......

Javascript[ת]


<!--
/* Font Definitions */
@font-face
{font-family:ËÎÌå;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@ËÎÌå" ......

javascript:history.go()ºÍHistory.back()µÄÇø±ðÊÕ²Ø

<input   type=button   value=ˢР  onclick="window.location.reload()">  
  <input   type=button   value=Ç°½ø   onclick="window.history.go(1)">  
  <input   type=button   value=ºóÍË   onclick="window.history.go(-1)"> ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ