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

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¡¢×Ô¶¯Ë¢Ð£º
<script type="text/javascript">setInterval("window.location.reload()",1800000)</script>
1800000ÊǺÁÃ룬ÕâÀïÉèÖõÄÊÇ30·ÖÖÓ
2.×Ô¶¯Ë¢Ð£º
°ÑÈçÏ´úÂë¼ÓÈë<head>ÇøÓòÖÐ
<meta http-equiv="refresh" content="20">
ÆäÖÐ20ָÿ¸ô20ÃëË¢ÐÂÒ»´ÎÒ³Ãæ.
3.Ò³Ãæ×Ô¶¯Ìøת£º
°ÑÈçÏ´úÂë¼ÓÈë<head>ÇøÓòÖÐ
<meta http-equiv="refresh" content="20;url=http://www.wyxg.com">
ÆäÖÐ20Ö¸¸ô20ÃëºóÌøתµ½http://www.wyxg.comÒ³Ãæ
4.Ò³Ãæ×Ô¶¯Ë¢ÐÂ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.ÁíÒ»FrameID.location.reload();
</script>
Èç¹ûÏë¹Ø±Õ´°¿ÚʱˢлòÕßÏ뿪´°Ê±Ë¢ÐµĻ°£¬ÔÚ<body>Öе÷ÓÃÒÔÏÂÓï¾ä¼´¿É¡£
<body onload="opener.location.reload()"> ¿ª´°Ê±Ë¢ÐÂ
<body onUnload="opener.location.reload()"> ¹Ø±ÕʱˢÐÂ
<script language="javascript">
window.opener.document.location.reload()
</script>


Ïà¹ØÎĵµ£º

JavascriptÖÐ×î³£ÓõÄ55¸ö¾­µä¼¼ÇÉ(ת)

 
¶¼×ªÀÃÁË£¬²»¹ý»¹ÊÇÌùÉÏÀ´ÁË¡£²éµÄʱºò·½±ã¡£¡£¡£
1. oncontextmenu="window.event.returnValue=false" ½«³¹µ×ÆÁ±ÎÊó±êÓÒ¼ü
<table border oncontextmenu=return(false)> <td>no </table> ¿ÉÓÃÓÚTable
2. <body onselectstart="return false"> È¡ÏûÑ¡È¡¡¢·ÀÖ¹¸´Ö ......

JavaScript×Ö·û´®ÖеÄ×Ö·ûÊý×é

Ô´³ÌÐò£º 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  <title>JavaScript×Ö·û´®ÖеÄ×Ö·ûÊý×é&l ......

JavaScript CSS StyleÊôÐÔ¶ÔÕÕ±í

 from: http://sailinglee.javaeye.com/blog/423701
ΪÁ˴ﵽijÖÖÌØÊâµÄЧ¹ûÎÒÃÇÐëÒªÓÃJavascript¶¯Ì¬µÄÈ¥ÐÞ¸Äijһ¸ö±êÇ©µÄCssÊôÐÔ¡£±ÈÈ磺Êó±ê¾­¹ýÒ»¸öͼƬʱÎÒÃÇÈÃͼƬ¼ÓÒ»¸ö±ß¿ò£¬´úÂë¿ÉÄÜÊÇÕâÑù£º
 
Javascript´úÂë´úÂë
<script type="text/javascript">      &nbs ......

B/S¿ª·¢³£ÓÃJavaScript¼¼Êõ

ÔÚb/s¿ª·¢Öо­³£Óõ½µÄjavaScript¼¼Êõ
Ò»¡¢ÑéÖ¤Àà
1¡¢Êý×ÖÑéÖ¤ÄÚ
1.1 ÕûÊý
1.2 ´óÓÚ0µÄÕûÊý £¨ÓÃÓÚ´«À´µÄIDµÄÑéÖ¤)
1.3 ¸ºÕûÊýµÄÑéÖ¤
1.4 ÕûÊý²»ÄÜ´óÓÚiMax
1.5 ÕûÊý²»ÄÜСÓÚiMin
2¡¢Ê±¼äÀà
2.1 ¶Ìʱ¼ä£¬ÐÎÈç (13:04:06)
2.2 ¶ÌÈÕÆÚ£¬ÐÎÈç (2003-12-05)
2.3 ³¤Ê±¼ä£¬ÐÎÈç (2003-12-05 13:04:06)
2. ......

¹ØÓÚjavascript º¯ÊýµÄµ÷ÓÃ

 ÄÄλʦ¸çʦ½ãÄܹ»°ïæ½â¾öһϣ¬ÔÚjsp½Å±¾ÖÐÄÜ·ñµ÷ÓÃjavascriptº¯Êý£¬Èç¹ûÄÜÔõôµ÷Óã¿
¾ÍÊÇ˵¼ÙÈçÒ»¸öjavascript º¯ÊýÓÐÒ»¸ö·µ»ØÖµÈçreturn“a”;
ÔÚjsp½Å±¾ÖÐÉùÃ÷Ò»¸öStringÀàÐ͵ıäÁ¿Ôõôµ÷ÓÃÉÏÃæµÄº¯ÊýÀ´½ÓÊÜ·µ»ØµÄÖµ£¡
Ï£ÍûÄÜ°ïæ½â¾öÏÂ,ллÁË£¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ