<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>Hey jfty, sorry it took me so long to reply, not keeping enough of an eye on this page. Hopefully you see this - if not... oh well.

The problem with your suggestion is that confirmation boxes need to be synchronous. They're returning information to the script (Yes or No), so they have to freeze the browser and wait for user input before the script can proceed. As far as I know... there's no way to do this other than the browsers native methods (i.e. the existing confirm() box) - I'm fairly inexperienced in JS so if someone knows a way.... please do tell.

I thought of maybe hanging the script with a loop while the confirm box waits for a user respose, but I'm pretty sure that'd cause the button EventListeners to hang as well. And loops can be dodgy things to work with.</body>
  <body-html>&lt;p&gt;Hey jfty, sorry it took me so long to reply, not keeping enough of an eye on this page. Hopefully you see this - if not... oh well.&lt;/p&gt;

&lt;p&gt;The problem with your suggestion is that confirmation boxes need to be synchronous. They're returning information to the script (Yes or No), so they have to freeze the browser and wait for user input before the script can proceed. As far as I know... there's no way to do this other than the browsers native methods (i.e. the existing confirm() box) - I'm fairly inexperienced in JS so if someone knows a way.... please do tell.&lt;/p&gt;

&lt;p&gt;I thought of maybe hanging the script with a loop while the confirm box waits for a user respose, but I'm pretty sure that'd cause the button EventListeners to hang as well. And loops can be dodgy things to work with.&lt;/p&gt;</body-html>
  <created-at type="datetime">2008-07-25T04:08:07Z</created-at>
  <forumable-id type="integer">29628</forumable-id>
  <forumable-type>Script</forumable-type>
  <id type="integer">51085</id>
  <topic-id type="integer">14360</topic-id>
  <updated-at type="datetime">2008-11-16T23:57:02Z</updated-at>
  <user-agent nil="true"></user-agent>
  <user-id type="integer">56750</user-id>
</post>
