JavascriptË¢ÐÂÒ³ÃæµÄ¼¸ÖÖ·½·¨
JavascriptË¢ÐÂÒ³ÃæµÄ¼¸ÖÖ·½·¨£º
³ÌÐò´úÂë
1 history.go(0)
2 location.reload()
3 location=location
4 location.assign(location)
5 document.execCommand('Refresh')
6 window.navigate(location)
7 location.replace(location)
8 document.URL=location.href
×Ô¶¯Ë¢ÐÂÒ³ÃæµÄ·½·¨:
1.Ò³Ãæ×Ô¶¯Ë¢Ð£º°ÑÈçÏ´úÂë¼ÓÈë<head>ÇøÓòÖÐ
³ÌÐò´úÂë
<meta http-equiv="refresh" content="20">
ÆäÖÐ20ָÿ¸ô20ÃëË¢ÐÂÒ»´ÎÒ³Ãæ.
2.Ò³Ãæ×Ô¶¯Ìøת£º°ÑÈçÏ´úÂë¼ÓÈë<head>ÇøÓòÖÐ
³ÌÐò´úÂë
<meta http-equiv="refresh" content="20;url=http://www.wyxg.com">
ÆäÖÐ20Ö¸¸ô20ÃëºóÌøתµ½http://www.wyxg.comÒ³Ãæ
3.Ò³Ãæ×Ô¶¯Ë¢ÐÂjs°æ
³ÌÐò´úÂë
<script language="JavaScript">
function myrefresh()
{
window.location.reload();
}
setTimeout('myrefresh()',1000); //Ö¸¶¨1ÃëË¢ÐÂÒ»´Î
</script>
JSˢпò¼ÜµÄ½Å±¾Óï¾ä
³ÌÐò´úÂë
//ÈçºÎˢаüº¬¸Ã¿ò¼ÜµÄÒ³ÃæÓÃ
<script language=JavaScript>
parent.location.reload();
</script>
//×Ó´°¿Úˢи¸´°¿Ú
<script language=JavaScript>
self.opener.location.reload();
</script>
(¡¡»ò¡¡<a href="javascript:opener.location.reload()">Ë¢ÐÂ</a> )
//ÈçºÎË¢ÐÂÁíÒ»¸ö¿ò¼ÜµÄÒ³ÃæÓÃ
<script language=JavaScript>
parent.ÁíÒ»FrameID.location.reload();
</script>
Èç¹ûÏë¹Ø±Õ´°¿ÚʱˢлòÕßÏ뿪´°Ê±Ë¢ÐµĻ°£¬ÔÚ<body>Öе÷ÓÃÒÔÏÂÓï¾ä¼´¿É¡£
<body onload="opener.location.reload()"> ¿ª´°Ê±Ë¢ÐÂ
<body onUnload="opener.location.reload()"> ¹Ø±ÕʱˢÐÂ
<script language="javascript">
window.opener.document.location.reload()
Ïà¹ØÎĵµ£º
EclipseдjavascriptÊDZȽÏÍ´¿àµÄ,ÓÐÁËjsEclipseÕâ¸öÇ¿´óµÄjavascript±à¼²å¼þ¾Í·½±ã¶àÁË,Õâ¸ö²å¼þÖ§³Ö´úÂëÍê³É,´ó¸Ùä¯ÀÀ,´íÎ󱨸æ,´úÂë»»ÐеȵÈ.
°²×°jsEclipseºÜ·½±ã,ͨ¹ýHELP-Software Updates-Find and Install ÔÚURLÖмÈëhttp://www.interaktonline. ......
¼¸ºõÿ¸ö¿ª·¢ÈËÔ±¶¼ÓÐÃæÏò¶ÔÏóÓïÑÔ£¨±ÈÈçC++¡¢C#¡¢Java£©µÄ¿ª·¢¾Ñé¡£ ÔÚ´«Í³ÃæÏò¶ÔÏóµÄÓïÑÔÖУ¬ÓÐÁ½¸ö·Ç³£ÖØÒªµÄ¸ÅÄî - ÀàºÍʵÀý¡£
ÀඨÒåÁËÒ»ÀàÊÂÎ﹫¹²µÄÐÐΪºÍ·½·¨£»¶øʵÀýÔòÊÇÀàµÄÒ»¸ö¾ßÌåʵÏÖ¡£ ÎÒÃÇ»¹ÖªµÀ£¬ÃæÏò¶ÔÏó±à³ÌÓÐÈý¸öÖØÒªµÄ¸ÅÄî - ·â×°¡¢¼Ì³ÐºÍ¶à̬¡£
µ«ÊÇÔÚJavaScriptµÄÊÀ½çÖУ¬ËùÓеÄÕâÒ»ÇÐÌØ ......
ÕâÒ»ÕÂÎÒÃǽ«»áÖصã½éÉÜJavaScriptÖм¸¸öÖØÒªµÄÊôÐÔ£¨this¡¢constructor¡¢prototype£©£¬ ÕâЩÊôÐÔ¶ÔÓÚÎÒÃÇÀí½âÈçºÎʵÏÖJavaScriptÖеÄÀàºÍ¼Ì³ÐÆð×ÅÖÁ¹ØÖØÒªµÄ×÷Óá£
this
this±íʾµ±Ç°¶ÔÏó£¬Èç¹ûÔÚÈ«¾Ö×÷Ó÷¶Î§ÄÚʹÓÃthis£¬ÔòÖ¸´úµ±Ç°Ò³Ãæ¶ÔÏówindow£» Èç¹ûÔÚº¯ÊýÖÐʹÓÃthis£¬ÔòthisÖ¸´úʲôÊǸù¾ÝÔËÐÐʱ´Ëº¯ÊýÔÚʲ ......
JavaScript¿ÉÒÔÔÚ¿Í»§¶ËʵÏֺܶàÓÐÓõĽ»»¥¶¯×÷¡£Í¨¹ýµ÷ÓÃActive×é¼þ£¬»¹ÄܽøÒ»²½ÌáÉý²Ù×÷ÄÜÁ¦¡£ÔÚ¿Í»§¶ËдÎļþÒ»°ãʹÓÃFSO×é¼þ¡£µ«FSOÓиöÈõµã£¬¾ÍÊÇËü²»ÄÜд³ö¶þ½øÖƵÄÎļþ£¬Õâ¿ÉÄÜÊdzöÓÚ°²È«µÄ¿¼ÂÇ°É¡£
Èç¹ûҪд³ö¶þ½øÖÆÎļþ£¬±ÈÈç´Ó·þÎñÆ÷´«À´µÄWordÎĵµ£¬¿ÉÒÔ²ÉÓÃÁíÒ»¸ö×é¼þ£ºAdodb.Stream¡ ......