waspada ok dengan tautan

window.alert('Succesfully Updated');
window.location.href='http://someplace.com';
MrBeanDev