前台
<script type="text/javascript">
$(".btn").click(function(){
is_hide();
})
function is_hide(){ $(".alert").animate({"top":"-40%"}, 300) }
function is_show(){ $(".alert").show().animate({"top":"45%"}, 300) }
</script>
后台
protected void submit_Click(object sender, EventArgs e)
{
string username = this.username.Value;
string password = this.password.Value;
if ((username == "123")&&(password == "123"))
{
//怎么调用is_show()?????
}
}