<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script language="javascript">
function ChangeState()
{
if(confirm("是否更改处理状态?\n\n确定->更改为已处理\n\n取消->更改为未处理"))
{
//window.navigate("http://www.sina.com.cn/");
alert("已处理");
}
else
{
//window.navigate("http://www.cnblogs.com/");
alert("未处理");
}
}
</script>
</head>
<body>
<a href="#" onclick="ChangeState()">改变状态</a>
</body>
</html>