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

javascript¼¯½õ,¸÷¸öÔªËØËµÃ÷

javascript¼¯½õ
javascriptÊý×é²Ù×÷»ã×Ü
 
javascript¶¯Ì¬´´½¨form±íµ¥ ºÍ ½Úµã¿ØÖÆËµÃ÷
¶¯Ì¬¶ÁÈ¡
javascript:function ctys(_ctag){
ctys1=document.createElement(_ctag);
document.body.appendChild(ctys1);
return ctys1
};
newE1=ctys('<TEXTAREA id=www>');
newE1.cols='150';
newE1.rows='30';
newE2=ctys('BUTTON');
newE2.value="Ö´ÐÐ";
newE2.onclick=function(){
eval(document.getElementById("www").value)
};
alert(1)
 
¶¯Ì¬Ò³Ãæ¿ØÖÆÊ¾Àý
 
javascript:document.write(document.getElementsByTagName('body')(0).innerHTML.match(/<SPAN class=fcgray>([\s\S]*?)<\/SPAN>/ig))
javascript:alert(document.getElementById('tab_c_iframe').style.display="none")
javascript:alert(document.getElementsByTagName('body')(0).innerHTML)
javascript:document.write(document.getElementsByTagName('body')(0).innerHTML)
javascript:var ccc=document.createElement("div");ccc.setAttribute("type","text");ccc.setAttribute
 
("value","11111111111111");ccc.style.marginLeft="8px";ccc.style.marginTop="10px";ccc.style.width="320px"; ccc.style.height="250px"; ccc.style.zIndex="111";
 
==============
 
table
tbody
tr
µÄinnerHTML Ϊֻ¶Á
 
td
tr
tbody
µÄouterHTML Ϊֻ¶Á
 
=========================
 
javascript¼¼ÇÉ£ºsetInterval("Test();",10); // 10ÃëÖÓ·¢ËÍÒ»´Î¸üÐÂÇëÇó·ÀÖ¹ÍøÒ³±í¸ñ±»³Å´óµÄ´úÂ룺
style="table-layout:fixed;word-wrap:break-word; word-break;break-all;"”£¬
vb×Ö·û´®·´Ïòº¯Êý£ºStrReverse,,,
vb×Ö·û´®×Ô¶¯·Ö³ÉÊý×飺split
vb×Ö·ûת»»º¯Êý£ºStrConv
 
ÍøÒ³×Ô¶¯×î´ó»¯´úÂ룺
<script language="javascript">
<!--
window.moveTo(0,0)
window.resizeTo(screen.availWidth,screen.availHeight)
if (top.location !== self.location) {
top.location=self.location;
}
//-->
</script>
 
VB×Ö·û´®º¯Êý:InStrRev(ÕÒÒ»¸ö×Ö·û´®ÔÚÁíÒ»¸ö×Ö·û´®Àï×îºóÒ»´Î³öÏÖµÄλÖÃ,ÓëÖ®Ïà·´µÄÊÇinstr)
ÏÔʾµ±Ç°ÍøÒ³µÄ¸üÐÂʱ¼ä:
 javascript:alert(document.lastModified)
¶ÁÈ¡Õû¸öÍøÒ³ÄÚÈÝ:
javascript:alert(document.documen


Ïà¹ØÎĵµ£º

JavaScript¾ÍÕâô»ØÊÂ

JavaScript¾ÍÕâô»ØÊÂ1£º»ù´¡ÖªÊ¶
1 ´´½¨½Å±¾¿é
1: <script language=”JavaScript”>
2: JavaScript code goes here
3: </script>
2 Òþ²Ø½Å±¾´úÂë
1: <script language=”JavaScript”>
2: <!--
3: document.write(“Hello”);
4: // -->
5: </scri ......

һЩjavascript¼¼ÇÉ

¼òÂÔÓï¾ä
JavaScript ¿ÉÒÔʹÓüòÂÔÓï¾ä¿ìËÙ´´½¨¶ÔÏóºÍÊý×飬±ÈÈçÏÂÃæµÄ´úÂ룺
¿ÉÒÔʹÓüòÂÔÓï¾äÈçÏ£º
¶ÔÏó car ¾Í´Ë´´½¨£¬²»¹ýÐèÒªÌØ±ð×¢Ò⣬½áÊø»¨À¨ºÅǰһ¶¨²»Òª¼Ó ";" ·ñÔòÔÚ IE »áÓöµ½ºÜ´óÂé·³¡£
´´½¨Êý×éµÄ´«Í³·½·¨ÊÇ£º
ʹÓüòÂÔÓï¾äÔò£º
ÁíÒ»¸ö¿ÉÒÔʹÓüòÂÔÓï¾äµÄµØ·½ÊÇÌõ¼þÅжÏÓï¾ä£º
¿ÉÒÔ¼òÂÔΪ£ ......

Javascript ģ̬´°¿Ú

<html>
<head>
    <script language="javascript">
        function overlay() {
            xyz = document.getElementById("overlay");
   &n ......

ÓÃ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"&g ......

JavaScript Calls from C++

×î½üÒªÓõ½Ïà¹Ø¼¼Êõ£¬ÏÈÌùÔÚÕ⣬ÓпÕÔÙ·­Ò³¡£
±¾ÎÄת×Ô£º
http://www.codeguru.com/Cpp/I-N/ieprogram/article.php/c4399
http://www.codeguru.com/cpp/i-n/ieprogram/article.php/c4399/JavaScript-Calls-from-C.htm
http://www.codeproject.com/KB/COM/jscalls.aspx

Introduction
Sometimes, when we are usi ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ