开发者

how to change the alterbox and confirm box buttons and Icons in asp.net2.0?

I am writting like that in asp.net2.0 .cs file , after executing code disply alert message 'Invoice Created Successfully' but warning icon displayed in that message but it display information icon and same as confirm box also pls help me

Response.Write("<script>开发者_高级运维;alert('Invoice Created Successfully');</script>");


If you want to use a custom icon, you can use a Jquery Alert and Confirm, Take a look at a Demo here:

JQuery Alert Boxes : ( Confirm Alert Prompt ) | 99Points

Download this from here...

JQuery Alert Dialog Boxes With Simple Demo | 99Points


The complete article can be found at

http://raufnicole.wordpress.com/2011/07/08/jquery-jalert/

<script src=”jquery/jquery-1.5.1.min.js” type=”text/javascript”></script>

<script src=”jquery/jquery-ui-1.8.13.custom.min.js” type=”text/javascript”></script>
<script src=”jquery/jquery.alerts.js” type=”text/javascript”></script>

<link href=”jquery/jquery.alerts.css” rel=”stylesheet” type=”text/css” />

<script type=”text/javascript”>
$(document).ready(function() {
jAlert(‘This is a custom alert box’, ‘Alert Dialog’);
});
</script>
</head>

<body>
<form id=”form1″ runat=”server”>
<div>
<a href=”#” >Click</a>
</div>
</form>
</body>
</html>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜