a href=#Óë a href=javascript:void(0) µÄÇø±ð
a href="#"> µã»÷Á´½Óºó£¬Ò³Ãæ»áÏòÉϹöµ½Ò³Ê×£¬# ĬÈÏêµãΪ #TOP
<a href="javascript:void(0)" onClick="window.open()"> µã»÷Á´½Óºó£¬Ò³Ãæ²»¶¯£¬Ö»´ò¿ªÁ´½Ó
<a href="#" onclick="javascript:return false;"> ×÷ÓÃͬÉÏ£¬²»Í¬ä¯ÀÀÆ÷»áÓвîÒì¡£
µã»÷Á´½Óºó£¬²»ÏëʹҳÃæ¹öµ½Ò³Ê×£¬¾ÍÓÃhref="javascript:void(0)"£¬²»ÒªÓÃhref="#"£¬return falseÒ²ÓÐÀàËÆ×÷ÓÃ
Ïê½âhref="#"Óëhref="javascript:void(0)"µÄÇø±ð
"££"°üº¬ÁËÒ»¸öλÖÃÐÅÏ¢
ĬÈϵÄêµãÊÇ££top Ò²¾ÍÊÇÍøÒ³µÄÉ϶Ë
¶øjavascript:void(0) ½ö½ö±íʾһ¸öËÀÁ´½Ó
Õâ¾ÍÊÇΪʲôÓеÄʱºòÒ³ÃæºÜ³¤ä¯ÀÀÁ´½ÓÃ÷Ã÷ÊÇ££¿ÉÊÇÌø¶¯µ½ÁËÒ³Ê×
¶øjavascript:void(0) Ôò²»ÊÇÈç´Ë
ËùÒÔµ÷Óýű¾µÄʱºò×îºÃÓÃvoid(0)
»òÕß<input onclick>
<div 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)">LINK_TEST</a>
window.location.href=""
-------------------------------------------------------------------------------
Èç¹ûÊǸö# £¬¾Í»á³öÏÖÌøµ½¶¥²¿µÄÇé¿ö,¸öÈËÊղصļ¸ÖÖ½â¾ö·½·¨£º
1£º<a href="####"></a>
2£º<a href="javascript:void(0)"></a>
3£º<a href="javascript:void(null)"></a>
4£º<a href="#" onclick="return false"></a>
5£º<span style="cursor:hand"></span>(ºÃÏñÔÚFFÖв»ÄÜÏÔʾ)
-------------------------------------------------------------------------------
É÷ÓÃJavaScript:void(0)
½ñÌìµ÷ÊÔCGIµÄʱºò£¬Ã÷Ã÷CGI³ÌÐòÒѾִÐУ¬²¢ÇÒ×îºó½á¹ûÒ²ÊÇÕýÈ·µ
Ïà¹ØÎĵµ£º
<SCRIPT LANGUAGE="JavaScript">
var strDate1 = "2003-06-17";
var strDate2 = "2004-09-18";
//var strDate1 = "2003-06-17 03:03:40.0";
//var strDate2 = "2004-09-18 12:03:12.0" ......
ÔÚ³ÌÐòÔ±ÔÓÖ¾ÉÏ¿´µ½Ò»Æª¶ÌÎÄ¡¶Ç°¶Ë¿ª·¢¹¤¾ß¸ÅÀÀ¡·¡£¾õµÃºÜÓÐʵÓüÛÖµ¡£ÏÖ×ܽáÈçÏ£º
Ò»¡¢µ÷ÊÔ¹¤¾ß
1.firebug
2.Web Developer Toolbar--µ÷ÕûÒ³ÃæµÄ¸÷¸öϸ½Ú
3.IE Developer Toolbar--µ÷ÊÔIEµÄHTMLºÍCSS
4.Companion.JS--µ÷ÊÔIEµÄJavascript
5.Fiddler--Webµ÷ÊÔ´úÀí£¬¼Ç¼±¾»úµ½»¥ÁªÍøµÄËùÓÐHTTP(S)ÇëÇó¡£
¶þ¡¢²âÊÔ¹¤ ......
<html>
<head>
<base href="<%=basePath%>">
<script type="text/javascript">
function check(){
var name1 = document.form1.name1.value;
var passwor ......