Stop page execution like the alert() function
<p>When I write <code>alert('Hello')</code>, the page execution stops and waits for approval to continue.</p>

<p>I have <strong>div</strong> setup to display as a fake alert, using HTML - this div has an 'OK' button.</p>

<p>I want the page to stop its execution (just like as in a real alert) until the user presses 'OK'.</p>

<p>I don't want to use jQuery.</p>
