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

¸÷ÖÖÒ³ÃæˢдúÂë´óÈ«,asp/javascriptË¢ÐÂÒ³Ãæ´úÂë

Ò³Ãæ×Ô¶¯Ë¢Ð´úÂë´óÈ«£¬»ù±¾ÉÏËùÓÐÒªÇó×Ô¶¯Ë¢ÐÂÒ³ÃæµÄ´úÂ붼ÓУ¬´ó¼Ò¿ÉÒÔ×ÔÓÉ·¢»Ó×ö³öÍêÃÀµÄÒ³Ãæ¡£
1)
10±íʾ¼ä¸ô10ÃëË¢ÐÂÒ»´Î
2)
<script>
window.location.reload(true);
</script>
Èç¹ûÊÇÄãҪˢÐÂijһ¸öiframe¾Í°Ñwindow¸ø»»³ÉframeµÄÃû×Ö»òIDºÅ
3)
<script>
window.navigate("±¾Ò³Ãæurl");
</script>
4>
function abc()
{
window.location.href="/blog/window.location.href";
setTimeout("abc()",10000);
}
ˢб¾Ò³£º
Response.Write("<script>window.location.href=window.location.href;</script>")
ˢи¸Ò³£º
Response.Write("<script>opener.location.href=opener.location.href;</script>")
תµ½Ö¸¶¨Ò³:
Response.Write("<script>window.location.href='yourpage.aspx';</script>")
Ë¢ÐÂÒ³ÃæʵÏÖ·½Ê½×ܽá(HTML,ASP,JS)
'by aloxy
¶¨Ê±Ë¢Ð£º
1£¬<script>setTimeout("location.href='url'",2000)</script>
˵Ã÷£ºurlÊÇҪˢеÄÒ³ÃæURLµØÖ·
2000Êǵȴýʱ¼ä=2Ã룬
2£¬
˵Ã÷£º
n is the number of seconds to wait before loading the specified URL.
url is an absolute URL to be loaded.
n,ÊǵȴýµÄʱ¼ä£¬ÒÔÃëΪµ¥Î»
urlÊÇҪˢеÄÒ³ÃæURLµØÖ·
3£¬<!--sponse.redirect ur-->
˵Ã÷£ºÒ»°ãÓÃÒ»¸öurl²ÎÊý»òÕß±íµ¥´«ÖµÅжÏÊÇ·ñ·¢Éúij¸ö²Ù×÷£¬È»ºóÀûÓÃresponse.redirect ˢС£
4£¬Ë¢Ð¿ò¼ÜÒ³
   ¡´script language=javascript>top.leftFrm.location.reload();parent.frmTop.location.reload(); µ¯³ö´°ÌåºóÔÙˢеÄÎÊÌâ
Response.Write("<script>window.showModalDialog('../OA/SPCL.aspx',window,'dialogHeight: 300px; dialogWidth: 427px; dialogTop: 200px; dialogLeft: 133px')</script>");//open
             Response.Write("<script>document.location=document.location;</script>");
ÔÚ×Ó´°ÌåÒ³Ãæ´úÂëheadÖмÓÈë
ˢеÄÄÚÈݼÓÔÚ    if (!IsPostBack) ÖÐ
ÔÚ¿ò¼ÜÒ³ÖÐÓÒÃæË¢ÐÂ×óÃæ
    //ˢпò¼ÜÒ³×ó°ë²¿·Ö
    Response.Write("<script>");
    Response.Write("parent.left.location.href='PayDetailManage_Left.aspx


Ïà¹ØÎĵµ£º

aspÎÞ×é¼þµÈ±ÈÀýËõ·ÅͼƬ

<%
'//////////// GPS£ºGet Picture Size //////////////
'//////////////ÀûÓÃADODB.stream»ñȡͼƬ³ß´ç//////////////
Class GPS
Dim aso
Private Sub Class_Initialize
Set aso=CreateObject("Adodb.Stream")
aso.Mode=3
aso.Type=1
aso.Open
End Sub
Private Sub Class_Terminate
set aso=nothing
En ......

javascript ʼþÁбí½â˵

 



javascript
ʼþÁбí½â˵
ʼþ
ä¯ÀÀÆ÷Ö§³Ö
½â˵
Ò»°ãʼþ
onclick
IE3¡¢N2
Êó±êµã»÷ʱ´¥·¢´Ëʼþ
ondblclick
IE4¡¢N4
Êó±êË«»÷ʱ´¥·¢´Ëʼþ
onmousedown
IE4¡¢N4
°´ÏÂÊó±êʱ´¥·¢´Ëʼþ
onmouseup
IE4¡¢N4
Êó±ê°´ÏºóËÉ¿ªÊó±êʱ´¥·¢´Ëʼþ
onmouseover
IE3¡¢N2
µ±Êó±êÒƶ¯µ½Ä³¶ÔÏ ......

Google ÅÅÃûÖÐµÄ 10 ¸ö×îÖøÃûµÄ JavaScript ¿â

   Google ÅÅÃûÖÐµÄ 10 ¸ö×îÖøÃûµÄ JavaScript ¿â ÊÕ²Ø
JavaScript ÊÇ Web ¿ª·¢ÓëÉè¼ÆÖв»¿É»òȱµÄ¶«Î÷£¬²»¹ÜÊÇÒ»¸ö¼òµ¥µÄÍøÒ³»¹ÊÇÒ»¸öרҵµÄÕ¾µã£¬Ò²²»¹ÜÄãÊǸßÊÖ»¹ÊDzËÄñ£¬Èç½ñ JavaScript ¿âÔ½À´Ô½Ç¿´ó£¬¿ÉÒÔʤÈÎÐí¶à¸´ÔӵŤ×÷£¬È»¶øͬʱ£¬ÈËÃÇÔÚÖÚ¶à JavaScript ¿âÃæÇ°ÓÖ¾õµÃÎÞËùÊÊ´Ó£¬±¾ÎÄ£¬ÎÒÃǽ«Ê¹Óà G ......

JavaScript toFixed() ·½·¨

 Ô­ÎĵØÖ·£º http://www.w3school.com.cn/js/jsref_tofixed.asp
¶¨ÒåºÍÓ÷¨
toFixed() ·½·¨¿É°Ñ Number ËÄÉáÎåÈëΪָ¶¨Ð¡ÊýλÊýµÄÊý×Ö¡£
Óï·¨
NumberObject.toFixed(num)
²ÎÊýÃèÊö
num
±ØÐè¡£¹æ¶¨Ð¡ÊýµÄλÊý£¬ÊÇ 0 ~ 20 Ö®¼äµÄÖµ£¬°üÀ¨ 0 ºÍ 20£¬ÓÐЩʵÏÖ¿ÉÒÔÖ§³Ö¸ü´óµÄÊýÖµ·¶Î§¡£Èç¹ûÊ¡ÂÔÁ˸òÎÊý£¬½«Óà 0 ´úÌ ......

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

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