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

¡¾×ª¡¿javascript IEϵĹرÕie´°¿Ú³öÏÖÌáʾ¹Ø±ÕÎÊÌâ

ÔÚ¿ª·¢Öо­³£»áÓÐÖ±½Ó¹Ø±ÕÒ³Ãæ²»µ¯³öÈκÎÌáʾµÄÐèÇó£¬ÔÚIE6ÖпÉÒÔÖ±½ÓÏóÏÂÃæÕâÑùд¾Í¿ÉÒÔÁË
<mce:script language=javascript><!--
window.opener=null
window.close()
// --></mce:script>
Õâ¸öÎÊÌâÔÚIE7ÖÐÔòÓпÉÄÜÊdzöÓÚijÖÖ°²È«¿¼ÂÇ£¨ÒòΪÔÚMSä¯ÀÀÆ÷µÄ¾ºÕù¶ÔÊÖFFÖУ¬ÊDz»Äܹرշǽű¾´´½¨µÄ´°¿ÚµÄ£©£¬ËùÒÔÏòÉÏÃæÕâÑùд±»ÏÞÖÆ£¬²»¿ÉÒÔÖ±½Ó¹Ø±Õ¡£²»¹ýMS»¹ÎªÎÒÃdzÌÐòÔ±ÁôÁËÒ»Ìõ·£¬¾ÍÊÇopen¿ÕÎļþ
//ÕâÑùд¾ÍÖ±½Ó¼æÈÝIE6ºÍIE7ÁË
<mce:script language=javascript><!--
window.opener=null
window.open("","_self")
window.close();
// --></mce:script>
±¾ÎÄÀ´×ÔCSDN²©¿Í£¬×ªÔØÇë±êÃ÷³ö´¦£ºhttp://blog.csdn.net/lingxyd_0/archive/2009/03/13/3987981.aspx


Ïà¹ØÎĵµ£º

ÓÃJavaScript¸Ä½øÄãµÄÍøÒ³¿ò¼Ü

ÓÐÁ½ÖÖÍøÒ³Éè¼ÆÕߣºÏ²»¶Óÿò¼Ü(Frame)µÄºÍ²»Ï²»¶µÄ¡£²»Ï²»¶Ê¹Óÿò¼ÜµÄÈËÃÇ×ÜÊDZ§Ô¹Ëµ£¬¿ò¼ÜʹµÃÒ³Ãæ±äµÃ¸´ÔÓ£¬Ôö¼ÓÁËÏÂÔØ¸ºµ££¬¶øÇÒ»á¼õÉÙÄãµÄÒ³Ãæ±»ËÑË÷ÒýÇæÕÒµ½µÄ»ú»á¡£¶øÏ²»¶¿ò¼ÜµÄÉè¼ÆÕßÔò˵¿ò¼Üʹä¯ÀÀ±äµÃ¼òµ¥£¬²¢¸³ÓèÉè¼ÆÈËÔ±ÔÚ°²ÅÅÒ³ÃæÉϸü¶àµÄ¿ØÖÆ¡£
¡¡¡¡²»¹ÜÄãÊÇÔÞ³ÉʹÓÿò¼Ü»¹ÊÇ·´¶Ô£¬ÊÂʵÉÏ£¬´ø¿ò¼ÜµÄÒ³ÃæÒ»Ö±´ ......

¹òÇóJavaScript½âÊÍ

<html>
<head></head>
<script>
function ShowMenu(bMenu) {
document.all.idFinder.style.display = (bMenu) ? "none" : "block"
document.all.idMenu.style.display = (bMenu) ? "block" : "none"
idML.className = (bMenu) ? "cOn" : "cOff"
idRL.className = (bMenu) ? "cOff" : "cOn" ......

JavaScriptÖÐ×Ô¶¨Òå¶ÔÏóµÄÏà¹ØÖªÊ¶

Ò»¸ÅÊö
ÔÚJavaÓïÑÔÖУ¬ÎÒÃÇ¿ÉÒÔ¶¨Òå×Ô¼ºµÄÀ࣬²¢¸ù¾ÝÕâЩÀà´´½¨¶ÔÏóÀ´Ê¹Óã¬ÔÚJavascriptÖУ¬ÎÒÃÇÒ²¿ÉÒÔ¶¨Òå×Ô¼ºµÄÀ࣬ÀýÈ綨ÒåUserÀà¡¢HashtableÀàµÈµÈ¡£
ĿǰÔÚJavascriptÖУ¬ÒѾ­´æÔÚһЩ±ê×¼µÄÀ࣬ÀýÈçDate¡¢Array¡¢RegExp¡¢String¡¢Math¡¢NumberµÈµÈ£¬ÕâΪÎÒÃDZà³ÌÌṩÁËÐí¶à·½±ã¡£µ«¶ÔÓÚ¸´ÔӵĿͻ§¶Ë³ÌÐò¶øÑÔ£¬ÕâЩ ......

href="#"Óëhref="javascript:void(0)"µÄÇø±ð

ÎÒÏëʹÓùýajaxµÄ¶¼³£¼ûÕâÑùµÄ´úÂ룺
<a href="javascript:doTest2();void(0);">here</a>
µ«Õâ¶ùµÄvoid(0)¾¿¾¹ÊǺκ¬ÒåÄØ£¿
JavascriptÖÐvoidÊÇÒ»¸ö²Ù×÷·û£¬¸Ã²Ù×÷·ûÖ¸¶¨Òª¼ÆËãÒ»¸ö±í´ïʽµ«ÊDz»·µ»ØÖµ¡£
void ²Ù×÷·ûÓ÷¨¸ñʽÈçÏ£º
1. javascript:void (expression)
2. javascript:void expression
expr ......

JavaScriptʵÏÖȫѡºÍ·´Ñ¡ ³¬¼òµ¥

<body>
    <form id="form1" runat="server">
    ÇëÑ¡ÔñÄãµÄ°®ºÃ£º
    <div>
            <input name="Che" type="checkbox" />×ãÇò
       & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ