I would suggest a while loop after you pop the jqModal, maybe something like:
var confirm = false; // a global var ? in the function: // code to execute jqModal confirm box while(!confirm){} ideally the while loop will keep the rest of the code from executing till it gets a confirm that is true. But what I do in my app is that I execute the confirm box and set a click event to the yes to execute the yes function and if no is clicked it just closes. On 4/17/07, laurenty <[EMAIL PROTECTED]> wrote:
is there a way to pause js execution when overriding alert and confirm with jqModal (just like the original behavior)? thanks Laurent
-- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com