使用Massagebox进入asp.net [英] use massagebox into asp.net

查看:83
本文介绍了使用Massagebox进入asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将Massagebox用作没有错误的asp.net宽度ie7
请帮助我

how can use massagebox into asp.net width ie7 that don''t have error
please help me

推荐答案

使用
Response.Write("<script>alert('Hello');</script>");


<html>
<head>
<script type="text/javascript">
function show_alert()
{
alert("Project has been add");
}
</script>
</head>
<body>

<input type="button" onclick="show_alert()" value="Save" />

</body>
</html>


您想在消息框中显示什么?
我想显示一条简单的短信,可以使用javascript警报框.

What u want to display in message box?
I u want to display a simple text message u can use javascript alert box.

Page.RegisterStartupScript("page", "<script language='javascript'>alert('Your Text');</script>");


这篇关于使用Massagebox进入asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆