Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 cookies²Ù×÷


javascript cookies²Ù×÷
<script>
//дcookiesº¯Êý ×÷ÕߣºµÔÕñ¿­
function SetCookie(name,value)//Á½¸ö²ÎÊý£¬Ò»¸öÊÇcookieµÄÃû×Ó£¬Ò»¸öÊÇÖµ
{
    var Days = 30; //´Ë cookie ½«±»±£´æ 30 Ìì
    var exp  = new Date();    //new Date("December 31, 9998");
&n ......

ÕýÔò±í´ïʽ javascriptÍøÒ³¿ª·¢

´´½¨RegExp¶ÔÏóʵÀýµÄÁ½ÖÖ·½Ê½
 
1.ʹÓÃRegExp¶ÔÏóµÄÏÔʾ¹¹Ô캯Êý,Ó﷨Ϊ:new RegExp("pattern")[,"flags"];
2.ʹÓÃRegExp¶ÔÏóµÄÒþʾ¹¹Ô캯Êý,Ó﷨Ϊ:/pattern/flags;
 
3.flagsΪÒÔϱêÖ¾×Ö·ûµÄ×éºÏ
 
(1).g×÷È«¾Ö±êÖ¾,Èç¹ûûÓÐ,Æ¥ÅäµÚÒ»¸ö
 
(2). i ºöÂÔ´óСд
 
(3).m ¶àÐбêÖ¾
Õý ......

ÍøÒ³ÖÆ×÷ǰ̨֮JavascriptÊó±êʼþ


    
Èç¹ûÄãÍêÈ«²»¶®£¬ÄÇôÆÚÍû1-2ÖÜ¿´ÍêÒ»±éÀ­µ¹....²»Óÿ´µÄÌ«×Ðϸ£¬ºóÃæÔÙ¿´µ½²»¶®µÄʱºò»ØÍ·È¥¿´ÕâЩ¶«Î÷ºÃÁË¡£
1. ǰÑÔºÍ×¼±¸¹¤×÷
ÕâÀï²»»á½éÉÜʲôÈí¼þµÄÓ÷¨Ò»ÀàµÄ¶«Î÷¡£Èç¹û¾õµÃÊÖд´úÂëÊÇÔÚ×°µÄÈË¿ÉÒÔ³öÈ¥ÁË£¬Ð»Ð»¡£
Ê×ÏÈÄãÒªÓÐ̨µçÄÔ¡£È»ºóËüÓ¦¸Ã×°×Åwindows ºÍ IE¡£ÏÂÃæËù̸µ½µÄ´úÂë ......

javascriptÖеÄmoveStartºÍmoveEnd·½·¨

Ïê̽TextRange¶ÔÏó--²éÕÒÓëÑ¡Ôñ
TextRange¶ÔÏóÊǶ¯Ì¬HTML(DHTML)µÄ¸ß¼¶ÌØÐÔ£¬Ê¹ÓÃËü¿ÉÒÔʵÏֺܶàºÍÎı¾ÓйصÄÈÎÎñ£¬ÀýÈçËÑË÷ºÍÑ¡ÔñÎı¾¡£Îı¾·¶Î§ÈÃÄú¿ÉÒÔÑ¡ÔñÐԵĽ«×Ö·û¡¢µ¥´ÊºÍ¾ä×Ó´ÓÎĵµÖÐÌôÑ¡³öÀ´¡£TextRange¶ÔÏóÊÇÔÚHTMLÎĵµ½«ÒªÏÔʾµÄÎı¾Á÷ÉϽ¨Á¢¿ªÊ¼ºÍ½áÊøÎ»ÖõijéÏó¶ÔÏó¡£
ÏÂÃæÊÇTextRangeµÄ³£ÓÃÊôÐÔÓë·½·¨£º
Ê ......

javascript»ñµÃÊó±êµÄ¾ø¶ÔλÖÃ

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title> New Document </title>
<meta name="Generator" content="EditPlus">
<meta name="Author" content="">
<meta name=" ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ