Hi,is there any way to capture the Cancel Button event.The requirement is "Pressing on a 'cancel' Button should abandon all changes and unlock the DCR." Lal
I am using TS 6.1 under windows 2003 server.Lal
function customCancel () { try{var cancel = parent.document.getElementById("iw.base.wizard.cancel.button");cancel.href='javascript:parent.getScriptFrame().customCancelHandler();'; }catch(e){ alert("Cancel button missing!!!"); }}function customCancelHandler() { if(confirm("Do you want to close the form?")) { top.window.close(); }}
function customCancelHandler() { if(confirm("Do you want to close the form?")) { //top.window.close(); iw_wizard_doCancel(); }}