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

javascriptС¼¼ÇÉ

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]/
ÈÃÓ¢ÎÄ×Ö·û´®³¬³ö


Ïà¹ØÎĵµ£º

javascriptÖÐreturnµÄ×÷ÓÃ

ÕâÀïÃæµÄreturnº¬ÓÐһЩϸ½Ú֪ʶ£º
ÀýÈ磺onClick='return add_onclick()'Óë onClick='add_onclick()'µÄÇø±ð
JAVASCRIPTÔÚʼþÖе÷Óú¯ÊýʱÓÃreturn·µ»ØÖµÊµ¼ÊÉÏÊǶÔwindow.event.returnvalue½øÐÐÉèÖá£
¶ø¸ÃÖµ¾ö¶¨Á˵±Ç°²Ù×÷ÊÇ·ñ¼ÌÐø¡£
µ±·µ»ØµÄÊÇtrueʱ£¬½«¼ÌÐø²Ù×÷¡£
µ±·µ»ØÊÇfalseʱ£¬½«ÖжϲÙ×÷¡£
¶øÖ±½ÓÖ´ÐÐʱ£ ......

call javascript in firefox


·½·¨Ò»¡¢
NPN_GetURL(m_Instance, "javascript:test()",  NULL);
·½·¨¶þ¡¢
 NPVariant rval;
 NPN_InvokeDefault(m_Npp,  objectDisconnect ,NULL, 0,&rval);
 NPN_ReleaseVariantValue(&rval);
ÒÔÏÂÊÇjavascript
 <script type="text/javascript"> 
 &nb ......

[ת]JAVASCRIPT ÖÐmetaµÄ¹¦ÄÜ

metaÊÇÓÃÀ´ÔÚHTMLÎĵµÖÐÄ£ÄâHTTPЭÒéµÄÏìӦͷ±¨ÎÄ¡£
meta ±êÇ©ÓÃÓÚÍøÒ³µÄ<head>Óë</head>ÖУ¬meta ±êÇ©µÄÓô¦ºÜ¶à¡£
meta µÄÊôÐÔÓÐÁ½ÖÖ£ºnameºÍhttp-equiv¡£nameÊôÐÔÖ÷ÒªÓÃÓÚÃèÊöÍøÒ³£¬
¶ÔÓ¦ÓÚcontent£¨ÍøÒ³ÄÚÈÝ£©£¬ÒÔ±ãÓÚËÑË÷ÒýÇæ»úÆ÷È˲éÕÒ¡¢·ÖÀà
£¨Ä¿Ç°¼¸ºõËùÓеÄËÑË÷ÒýÇæ¶¼Ê¹ÓÃÍøÉÏ»úÆ÷ÈË×Ô¶¯²éÕÒm ......

¼òµ¥µÄjavascriptÍÏקʵÀý

¼òµ¥µÄjavascriptÍÏקʵÀý----> ±¾ÈËÔ­´´£¨244796562@qq.com£©
<html>
<head>
<title>ÍÏ×§²âÊÔ</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div id="box" style="position:absolute;top:100px;left:200px;width ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ