RE: Modal control


I have a Delete button that I click. When I do I get a modal popup with “Are you sure?”  followed by Ok /  Cancel  controls. I Can select the initial Delete but not sure how to select ‘Ok’ on the modal popup.

<input value=”Delete” class=”btn” title=”Delete” name=”delete” onclick=”if ((Modal.confirm &amp;&amp; Modal.confirm(‘Are you sure?’)) || (!Modal.confirm &amp;&amp; window.confirm(‘Are you sure?’))) navigateToUrl(‘/setup/own/deleteredirect.jsp?srKp=001&amp;srPos=0&amp;delID=00119000003kBGD&amp;retURL=%2F001%2Fo&amp;_CONFIRMATIONTOKEN=pV2MttmnuVookU9jJgi5t6V.WYdoUYfTke7RG_aoWvkb8gtqliYmmBdMpwqagqSYvTCpWm5B5FJzBf.5VDgvI6dE4AxSEQyIVpYf.fPXH8nfqzQq3f9FDmZU23VNIJ1lJ911a1ANwOXYfT27mOze5DS9Hvs%3D&amp;failRetURL=%2F00119000003kBGD%3FsrPos%3D0%26srKp%3D001′,’DETAIL’,’delete’);” type=”button”>

Add Comment
4 Answers


Ok. Apparently I don’t even know the basics. :-).  Usually I can look at the underlying code to see what to use to navigate the app or get close to it. but this one I had no clue. Anyway, thanks. I need to study a lot more it sounds like.

Train Answered on October 6, 2014.

Please don’t mind Allen, my intention was not like that (you don’t know basics). Sorry if i presented wrongly.

on October 6, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.