function confirmDelete(msg,loc)
{
if( confirm(msg) )
{
location.href = loc;
}
}
or
function confirmDelete(message)
{
return confirm(message);
}
Subscribe to:
Post Comments (Atom)
My Coding tips and tricks. Java, ASP.NET, C#, HTML, JavaScript, C++, C, JSP, Ajax and much more...
No comments:
Post a Comment