<%@ page language="java" contentType="text/html; charset=GBK"
    pageEncoding="GBK"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>提示信息</title>
<script type="text/javascript" src="./js/jquery-1.7.1.js"></script>
<script type="text/javascript">

function test1()
{
$("#errormsg1").html("您的信息输入错误,请重试!").show(200).delay(1000).hide(200); 
}

</script>
</head>
<body>
<b>方案一:</b>
<span id="errormsg1"></span><br />
<input type="button" value="确定" onclick="test1();"><br /><br />

</body>
</html>
10-17 17:06