javascript¼¼ÇÉ´óÈ«
ʼþÔ´¶ÔÏó
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"
×Ô¶¯Ë¢ÐÂ
<meta HTTP-EQUIV="refresh" CONTENT="8;URL=http://c98.yeah.net">
¼òµ¥Óʼþ
<a href="mailto:aaa@bbb.com?subject=ccc&body=xxxyyy">
¿ìËÙתµ½Î»ÖÃ
obj.scrollIntoView(true)
ê
<a name="first">
<a href="#first">anchors</a>
ÍøÒ³´«µÝ²ÎÊý
location.search();
¿É±à¼
obj.contenteditable=true
Ö´Ðв˵¥ÃüÁî
obj.execCommand
Ë«×Ö½Ú×Ö·û
/[^\x00-\xff]/
ºº×Ö
/[\u4e00-\u9fa5]/
ÈÃÓ¢ÎÄ×Ö·û´®³¬³ö±í¸ñ¿í¶È×Ô¶¯»»ÐÐ
word-wrap: break-word; word-break: b
Ïà¹ØÎĵµ£º
<script type="text/javascript">
function close(){
QQkefu.style.display="none";
return true;
}
function msgBox()
{
this.container = "aaaa";
this.titleheadArea = "titlehead";
this.width = 154; ......
JavaScriptÑéÖ¤ÕýÔò±í´ïʽ´óÈ«,ËѼ¯×îÈ«µÄJavaScriptÑéÖ¤ÕýÔò±í´ïʽ,¿ªÊ¼²é¿´°É£¬ÕâÀïµÄ¶¼ÊÇÕýÔò±í´ïʽµÄÀý×Ó£¬¾ßÌåºÍº¯Êý½áºÏµÄʹÓ÷½·¨£¬»¹Çë²é¿´ÏÂƪÎÄÕ¡¶JavaScriptʹÓÃÕýÔò±í´ïʽ½øÐÐÑéÖ¤¡·
Æ¥ÅäÖÐÎÄ×Ö·ûµÄÕýÔò±í´ïʽ£º [u4e00-u9fa5]
ÆÀ×¢£ºÆ¥ÅäÖÐÎÄ»¹ÕæÊǸöÍ·ÌÛµÄÊ£¬ÓÐÁËÕâ¸ö±í´ïʽ¾ÍºÃ°ìÁË
Æ¥ÅäË«×Ö½Ú×Ö·û(°üÀ ......
event.keycode´óÈ«(javascript)
keycode 8 = BackSpace BackSpace
keycode 9 = Tab Tab
keycode 12 = Clear
keycode 13 = Enter
keycode 16 = Shift_L
keycode 17 = Control_L
keycode 18 = Alt_L
keycode 19 = Pause
keycode 20 = Caps_Lock
keycode 27 = Escape Escape
keycode 32 = space space
......
javascriptʼþÁбí½â˵
ʼþ ä¯ÀÀÆ÷Ö§³Ö ½â˵
Ò»°ãʼþ onclick IE3¡¢N2 Êó±êµã»÷ʱ´¥·¢´Ëʼþ
ondblclick IE4¡¢N4 Êó±êË«»÷ʱ´¥·¢´Ëʼþ
onmousedown IE4¡¢N4 °´ÏÂÊó±êʱ´¥·¢´Ëʼþ
onmouseup IE4¡¢N4 Êó±ê°´ÏºóËÉ¿ªÊó±êʱ´¥·¢´Ëʼþ
onmouseover IE3¡¢N2 µ±Êó±êÒƶ¯µ½Ä³¶ÔÏó·¶Î§µÄÉÏ·½Ê±´¥·¢´Ëʼþ
onmou ......