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

javascript:void(0)

  javascript:void(0)
   ¸Õ¿ªÊ¼¶¼²»ÖªµÀÊÇɶÒâ˼
  Æäʵ¾ÍÊÇÒ»¸öËÀÁ´½Ó£¬Ê²Ã´ÊÂÇé¶¼²»×ö¡£
  <a id="link_${user.account}" href="javascript:void(0);" onclick="changSubmit();" style="cursor:pointer;height:25px;width:60px;margin-top:10px;">·¢ËÍemail</a>
  Õâ¾ä»°ÖеÄjavascript:void(0)  ¾ÍÊÇÒ»¸öËÀÁ´½Ó£¬Ê²Ã´ÊÂÇ鶼û×ö£¬Ö÷ÒªµÄ»¹ÊÇonclickʼþ¡£
  ³£¼ûµÄ¼¸ÖÖÁ´½Ó
     1.window.open(''url'')
2.ÓÃ×Ô¶¨Ò庯Êý
         <script>
         function openWin(tag,obj)
         {
             obj.target="_blank";
             obj.href = "Web/Substation/Substation.aspx?stationno="+tag;
             obj.click();
         }
        </script>
<a href="javascript:void(0)" onclick="openWin(3,this)">ÖêÖÞ</a>
window.location.href=""£»


Ïà¹ØÎĵµ£º

javascript ¸÷Öֵõ½ä¯ÀÀÆ÷¿í¶ÈºÍ¸ß¶ÈµÄº¯Êý

function getInfo()
{
    var s = "";
    s += " ÍøÒ³¿É¼ûÇøÓò¿í£º"+ document.body.clientWidth+"\n";
    s += " ÍøÒ³¿É¼ûÇøÓò¸ß£º"+ document.body.clientHeight+"\n";
    s += " ÍøÒ³¿É¼ ......

¼¸¸ö³£ÓÃJAVASCRIPTʹÓ÷½·¨


¢Ù     JavaScriptÌí¼ÓλÖã¬Ìí¼ÓλÖôíÎ󣬻áÒýÆðJavaScript´úÂëÎÞ·¨Ö´ÐеÄÎÊÌâ¡£
<head runat="server">
<script type='text/javascript' language="javascript">
<!—
//“Ìí¼ÓÄÚÈÝ”
//-->
</script>
</head>
 
¢Ú ÒýÓÃËû´¦µÄ½Å±¾ ......

³£¼ûfirefox²»Ö§³ÖµÄJavaScriptÎÊÌâ

<a href="#" onclick="ChildNode(this);">aaa</a>Òª¸ÄΪ
<a href="#" onclick="ChildNode(event);">aaa</a>
ÎÞ·¨È¡µÃthis¶ÔÏó£¬ÒªÓÃÒÔÏ·½·¨À´È¡µÃ¡£
function ChildNode(e)
{
var evt = e ? e : (window.event ? window.event : null); //´Ë·½·¨ÎªÁËÔÚfirefoxÖеļæÈÝ
var node = evt.srcEl ......

javascript ÉèÖÃÃÜÂëÇ¿¶È

 <table>
<tr>
                <td style="width: 201px; height: 22px;" valign="middle" align="right">
                &n ......

javascript DateÈÕÆÚ¶ÔÏó (ת)

´´½¨Ò»¸öÈÕÆÚ¶ÔÏó£º
var objDate=new Date([arguments list]);
²ÎÊýÐÎʽÓÐÒÔÏ£µÖÖ£º
   new Date("month dd,yyyy hh:mm:ss");
   new  Date("month dd,yyyy");
   new  Date(yyyy,mth,dd,hh,mm,ss);
   new Date(yyyy,mth,dd);
   new Date(ms); ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ