Thursday, July 2, 2009

javascript function delete()

function delete()
{
if (confirm("Are you sure you want to delete?")==true)
return true;
else
return false;
}


_myButton.Attributes.Add("onclick", "return delete();");

2 comments:

f0rgetme said...

excellent post keep up the good work.

f0rgetme said...

excellent post. very useful.