javascript refresh page ¼¸ÖÖÒ³Ãæˢеķ½·¨
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>
ASP.NETÈçºÎÊä³öˢи¸´°¿Ú½Å±¾Óï¾ä
1. this.response.write("<script>opener.location.reload();</script>");
2. this.response.write("<script>opener.window.location.href = opener.window.location.href;</script>");
3. Response.Write("<script language=javascript>opener.window.navigate(''ÄãҪˢеÄÒ³.asp'');</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.otherFrameID.location.reload();
</script>
Èç¹ûÏë¹Ø±Õ´°¿ÚʱˢÐÂ
Ïà¹ØÎĵµ£º
ʱ¼ä: 2009-9-02 - ·ÖÀà: Html+CSS, JavaScript - ÆÀÂÛ: 0 - ÔĶÁ: 70 ´Î
CSS¸úJavaScript¿ª·¢ÖУ¬×îÁî´ó¼ÒÍ·ÌÛµÄÎÊÌâ¾ÍÊÇä¯ÀÀÆ÷¼æÈÝÐÔÁË£¬ËäÈ»ºÜ¶àÎÄÕÂÓÐÕâ·½ÃæµÄÎÄÕ£¬µ«ÒÀÈ»Èúܶ࿪·¢ÈËÔ±ÔÎͷתÏò£¬¶øÇÒÒ²²»¹»È«Ãæ¡£ÕâƪÎÄÕ£¬½«È«ÃæÊÕ¼¯cssºÍjavascriptÔÚ¸÷ÖÖä¯ÀÀÆ÷ϵļæÈÝÐÔ±¨¸æ£¬Ò²ÆÚ´ý¸÷λ²»¶Ï²¹³ä¡£
Ó ......
¶þʮһ¡¢ÉùÒô
1¡¢¿ÉÒÔ²¥·ÅÉùÒôµÄä¯ÀÀÆ÷£¨Audio-enabled Browsers£©
Q£ºÊ²Ã´¿ÉÒÔä¯ÀÀÆ÷¿ÉÒÔÖ´Ðв¥·ÅÉùÒôµÄ½Å±¾£¿
A£ºÈç¹ûÔÚÉùÒô²¥·ÅÃèÊöµÄ¼¼Êõ¿ÉÒÔÔÚMiscrosoft Internet Explorer 4.0¼°Æä¸üа汾Öй¤×÷£¬ÄÇôͬÑù¿ÉÒÔÔÚNetscape Navigator 3.0¼°Æä¸üа汾Öй¤×÷¡£ÒªÔÚInternet ExplorerÖв¥·ÅÉùÒô£¬ÔÚ4.0ÒÔ¼°ºóÀ´°æ±¾Ö ......
ÍøÒ³ÖÆ×÷Javascript¾µäС¼¼ÇÉ×ܽá
http://www.webjx.com ¸üÐÂÈÕÆÚ£º2007-10-12 01:25 ³ö´¦£ºÍøÒ³½ÌѧÍø ×÷ÕߣºÕ¾³¤ÕûÀí
ÿһÏÊÇJSÖеÄС¼¼ÇÉ£¬µ«Ê®·ÖµÄʵÓã¡
1.document.write(”"); Êä³öÓï¾ä
2.JSÖеÄ×¢ÊÍΪ//
3.´«Í³µÄHTMLÎĵµË³ÐòÊÇ:document->html->(head,body)
4.Ò»¸öä¯ÀÀÆ ......
Æ¥ÅäÖÐÎÄ×Ö·ûµÄÕýÔò±í´ïʽ£º [u4e00-u9fa5]
ÆÀ×¢£ºÆ¥ÅäÖÐÎÄ»¹ÕæÊǸöÍ·ÌÛµÄÊ£¬ÓÐÁËÕâ¸ö±í´ïʽ¾ÍºÃ°ìÁË
Æ¥ÅäË«×Ö½Ú×Ö·û(°üÀ¨ºº×ÖÔÚÄÚ)£º[^x00-xff]
ÆÀ×¢£º¿ÉÒÔÓÃÀ´¼ÆËã×Ö·û´®µÄ³¤¶È£¨Ò»¸öË«×Ö½Ú×Ö·û³¤¶È¼Æ2£¬ASCII×Ö·û¼Æ1£©
Æ¥Åä¿Õ°×ÐеÄÕýÔò±í´ïʽ£ºns*r
ÆÀ×¢£º¿ÉÒÔÓÃÀ´É¾³ý¿Õ°×ÐÐ
Æ¥ÅäHTML±ê¼ÇµÄÕýÔò±í´ïʽ£º< (S ......
<html>
<head>
<title>Javascript</title>
<script language="Javascript" type="text/javascript">
function callMethod()
{
/*http://localhost/waa/WebService.asmxΪServic ......