184
rated 0 times
[
187]
[
3]
/ answers: 1 / hits: 24273
/ 13 Years ago, thu, may 5, 2011, 12:00:00
How can i get the value that was pressed in the confirm box?
<script type = text/javascript language = javascript>
function confirm_proceed()
{
if (confirm(Are you sure you want to proceed?)==true)
return true;
else
return false;
}
</script>
C#
Button2.Attributes.Add(onclick, return confirm_proceed(););
More From » c#