<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
<script language="javascript" type="text/javascript">
function clickCHange()
{
document.getElementById("get_id").setAttribute("href","default.aspx");
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="button" id="cklic" value="new " onclick="clickCHange()" />
<a href="ADLogin.aspx" id="get_id">test</a>
</div>
</form>
</body>
</html>
拿 jQuery 比较简单