Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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ʼþ²éѯ×ÛºÏ

click() ¶ÔÏó.click() ʹ¶ÔÏó±»µã»÷¡£
closed ¶ÔÏó.closed ¶ÔÏó´°¿ÚÊÇ·ñÒѹرÕtrue/false
clearTimeout(¶ÔÏó) Çå³ýÒÑÉèÖõÄsetTimeout¶ÔÏó
clearInterval(¶ÔÏó) Çå³ýÒÑÉèÖõÄsetInterval¶ÔÏó
confirm("ÌáʾÐÅÏ¢") µ¯³öÈ·ÈÏ¿ò£¬È·¶¨·µ»ØtrueÈ¡Ïû·µ»Øfalse
cursor:Ñùʽ ¸ü¸ÄÊó±êÑùʽ hand crosshair text wait help defa ......

Javascript ģ̬´°¿Ú

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

javascript»ñÈ¡ÏÔʾÆ÷³ß´ç

ÒÔÏÂÊÂÀýΪ½áºÏ±¾È˵çÄÔ¶øÉè¼ÆµÄ²ÎÊý,ÄúÒ²¿É¸ÄΪ×Ô¼ºµÄ³ß´ç
<SCRIPT LANGUAGE="JavaScript">
var chicun;
chicun=screen.width;
if(chicun==1280||chicun==1440||chicun==1600)
{
<!--
function initEcAd() {
document.all.AdLayer1.style.posTop = -100;
document.all.AdLayer1.style.visibility = 'vis ......

JavaScriptÖÐsetAttributeÓ÷¨


ÎÒÃǾ­³£ÐèÒªÔÚJavaScriptÖиøElement¶¯Ì¬Ìí¼Ó¸÷ÖÖÊôÐÔ£¬Õâ¿ÉÒÔͨ¹ýʹÓÃsetAttribute()À´ÊµÏÖ£¬Õâ¾ÍÉæ¼°µ½ÁËä¯ÀÀÆ÷µÄ¼æÈÝÐÔÎÊÌâ¡£
setAttribute(string name, string value)£ºÔö¼ÓÒ»¸öÖ¸¶¨Ãû³ÆºÍÖµµÄÐÂÊôÐÔ£¬»òÕß°ÑÒ»¸öÏÖÓеÄÊôÐÔÉ趨Ϊָ¶¨µÄÖµ¡£
1¡¢ÑùʽÎÊÌâ
setAttribute(class, value)ÖÐclassÊÇÖ¸¸Ä±äclassÕâ¸öÊôÐ ......

javascript Óë C# »¥Ïàµ÷ÓÃ

ºÜ¶àÈ˶¼ÏòÔÚ·þÎñÆ÷
¶Ëµ÷Óÿͻ§¶ËµÄº¯ÊýÀ´²Ù×÷£¬Ò²¾ÍÊÇÔÚaspÖе÷ÓÃjava
script½Å±¾ÖÐÒѾ­¶¨ÒåºÃµÄ½Å±¾º¯Êý¡£¾­¹ýÑо¿£¬·¢ÏÖÁËһЩÃãÇ¿µÄ·½·¨¡£
1.
ÓÃResponse.Write·½·¨Ð´Èë½Å±¾
±ÈÈçÔÚÄãµ¥»÷°´Å¥ºó£¬ÏȲÙ×÷Êý¾Ý¿â
£¬ÍêÁ˺óÏÔʾÒѾ­Íê³É£¬¿ÉÒÔÔÚ×îºóÏëµ÷Óõĵط½Ð´ÉÏ
Response.Write("<script type='text/j ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ