這樣可以嗎
<script language="javascript">
function pageChange(para)
{
if(getmessage.Clicked)return;
getmessage.Clicked=true;
location = para;
}
</script>
<script language="javascript">
function pageChange(para)
{
if(getmessage.Clicked)return;
getmessage.Clicked=true;
location = para;
}
</script>
不行啊,NETSCAPE跟本就认不出getmessage.
不可能呀,可能是不認 getmessage.Clicked
那這樣吧
<script language="javascript">
var IsClicked=false;
function pageChange(para)
{
if(IsClicked)return;
IsClicked=true;
location = para;
}
</script>
function pageChange(para){
location = para;
}
</script>
<td nowrap width="16%" class="header"><a name="getmessage" href="void(0)" onclick="javascript:pageChange('MSG2190.do');return false;"></a>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<script>
function kkk(which,url){
window.location.href = url
document.activeElement.href = "javascript:alert('网页正在连接中')"
}
</script>
<body>
<a href="javascript:kkk(this,'#')" id="kkk">asdasd</a>
</body>
</html>