a simple example
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Untitled Page</title>
<script language="javascript" type="text/javascript">
function GetValue()
{
if(window.confirm("Are you sure to get the value???"))
{
alert("Got confirmation");
}
else
{
alert("Didn't got confirmation");
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="button" value="Click Me" onclick="javascript:GetValue();" />
</div>
</form>
</body>
</html>
simple isn't ??:cool:
If this post solves your issue please mark it as answer.