I have the follwing code
but for some reason requardless if arg is true or false it always runs the click event.
What is wrong.
function openConfirmBox() { radconfirm('Did you save an Excel Spreadsheet?', confirmCallBackFn, 330, 100, null,'Confirm'); } function confirmCallBackFn(arg) { alert(arg); if (arg == true); { document.getElementById('<%= UpdateFailed.ClientID %>').click(); } GetRadWindow().Close(); } What is wrong.