When I write alert(\'Hello\'), the page execution stops and waits for approval to continue.
alert(\'Hello\')
I have a div setup to display as a fake alert, usi
Use `Bootstap' modal
Then remove close button and disable model window hide by using below code
$('#myModal').modal({backdrop: 'static', keyboard: false})
Bind your function and close event to OK button of that modal window.