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

JavaScript ÆÁ±ÎÓÒ¼ü

1¡¢function vv()
    {
        if(event.button==2)
        {
            alert('·ÀÖ¹·þÎñÆ÷¸ºµ£¹ý´ó£¬ÓÒ¼ü¹¦Äܱ»ÆÁ±Î£¡')
        }
    }
    document.onmousedown=vv
2¡¢document.oncontextmenu = new Function("return false;")
3¡¢<body oncontextmenu="return false" >


Ïà¹ØÎĵµ£º

ÅäºÏjavascript¶¯Ì¬²Ù×÷±íÍ·

Õâ¶Îʱ¼äÔÚÓÃdisplayTag, ËüÓкܶàºÃÓõŦÄÜ,°³Ò²²»¾ÍÔÚÕâ׸Êö,µ±È»Ò²Óм¸¸ö²»·½±ãµÄµØ·½. ±ÈÈçÇóºÍºó"%"µÄÏÔʾµÈÓëÇóºÍÏà¹ØµÄȱµã, ÕâÀïÏȽéÉÜÒ»¸öȱµã²¢°ÑÎÒ´ÓÍøÉÏÕûÀí³öÀ´µÄ½â¾ö·½°¸Ò²Ò»²¢Ìû³ö. ÎÊÌâÊÇÕâÑùµÄ: ÓÉÓÚÒµÎñÒªÇó, µ±Óû§Êó±êλÓÚ±íÖÐijһÁеıêͷʱ, ÔÚÕâ¸ö±íÍ·"¶¯»­"µØÏÔʾÕâÁеļò½é. ÏÈ¿´ÏÂ×ö³öÀ´µÄЧ¹û: ......

JavaScript¸ñʽ»¯×Ö·û´®¹¤¾ß

Several programming languages implement a sprintf function, to output a formatted string. It originated from the C programming language, printf function. Its a string manipulation function.
This is limited sprintf Javascript implementation. Function returns a string formatted by the usual printf co ......

javascript½âÎö·µ»ØµÄxml¸÷ʽµÄ×Ö·û´®

<script>
var flags ;
  if(window.XMLHttpRequest) { 
   XMLHttpReq = new XMLHttpRequest(); //firefoxÏÂÖ´ÐдËÓï¾ä
   }
   else if(window.ActiveXObject) {
    try{
    XMLHttpReq = new Acti ......

javascriptÖÐthis

 ÏÂÃæ¶¼ÊǸöÈËÀí½âÒÔ¼°²éÕÒµÄÍøÉϵÄ×ÊÁÏ,ÈçÓв»¶ÔµÄµØ·½ÇëÖ¸Õý
This
this ʼÖÕÖ¸Ïòµ÷ÓÃËüµÄ¶ÔÏó ,¶¼Ã»ÓжÔÏóµ÷ÓÃʱ¾ÍÖ¸Ïòwindow
ÁíÍâ¾ÍÊÇthisÒ»°ã¶¼ÊÇÔÚfunctionÖÐ,µ±²»ÔÚfunctionÖеÄʱºò  Ò»¶¨ÊÇÖ¸ÏòwindowµÄ.
var a ='a';
alert(this.a); //³öÀ´µÄÊÇa
alert(this.b); //undefined ÒòΪ»¹Ã»¶¨Òå ......

ASP.NET+Ajax+JavascriptʵÏÖÒ³Ãæ¶¨´Îˢйö¶¯ÄÚÈÝ

Ò»¡¢¸ÅÊö
  Marquee£ºHtmlÖйöÆÁ¿Ø¼þ£¬¿ÉÒÔʹ°üº¬Ôڴ˱ê¼ÇÖеÄÄÚÈݽøÐи÷¸ö·½Ïò£¬¸÷ÖÖËٶȵĹö¶¯£¬Òò´ËÔÚ²»¿¼ÂÇʹÓõÚÈý·½¿Ø¼þµÄǰÌáÏ£¬¿¼ÂÇʹÓÃMarquee+xmlhttpÀ´ÊµÏÖ¶¨´Î¸üÐÂÒ³ÃæÖеĹö¶¯ÄÚÈÝ£¬´ËʵÏÖÔÚIE6.0¼°ÒÔÉϰ汾²âÊÔͨ¹ý£¬ÆäËûä¯ÀÀÆ÷ÔÝʱδ²âÊÔ¹ý¡£
  MarqueeÖеÄonfinishʼþ£ºÔÚ¸øMarqueeÊôÐÔloop¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ