Saturday, February 23, 2008

Javascript: Confirmation Msg

function checkdelete()
{
if(confirm('Are you certain that you want to delete this')==false)
{
return false;
}
}

Call the Function in Button OnClick="return checkdelete();"

No comments: