Need to change the default header message for Window.confirm() modal pop-up
I am using Pega 6.2. I have used a custom control where I am using Window.confirm() as the confirmation modal dialog. According to the requirement I need to change the default header message of window.confirm(). By default It is coming as "Message from webpage", I need to change it to "Confirmation". Is there any way to modify the default header message.
Custom control for deletion of a row in repeat grid with confirmation.
<button title="<pega:lookup property=".pyCaption" value="Delete" />" class="iconDelete" onclick="if(window.confirm('<pega:lookup property=".pyMessageLabel" value="Do you want to delete the record?" />')) { doGridAction(window.event,'DELETE'); return false;}else{return false;}" ></button>
Image,