View Single Post
  #23  
Old 12-16-2011, 02:44 AM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
Quote:
Originally Posted by BlueMelon View Post
The confirmation box does popup and it does hide when I click yes or no, but it wont return a value, If I take off the hide() then it does return the value...
You can do:

PHP Code:
  // snip
  
while (!waitfor(this.name"AnsweredDialog"));
  return 
params[0];
}

function 
onReplied(obj) {
  
ConfirmationBox.hide();
  
this.trigger("AnsweredDialog"obj.text == "Yes"true false);

__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote