How would you tackle this circumstance? I'm dialing of a list of numbers, telemarketing a product. (Actually just coding this scenario). Suppose a person, who checks his caller-id, dials me back sometime after I called him. He asks me to remove him from my list. I can retrieve this person's id from a list of already-called people, via a popup window displaying my javascript logged data, to then go ahead and delete this guy's records. (I log this array on the client side to avoid a "trip" to the server.) But were I to pop open a window (with window.open), to select the caller in question, the javascript code doesn't wait for my selection to happen! The script just keeps running along, churning out whatever code it encounters after the window was written out, but well before my selection was made. --------------------- A little detail ---------------------- I've got a button. One of many. It has an event handler. When clicked, I pop open a child window. The user now sees a list of calls made, seeing name & phone number of each prospect record accessed in the past. The user's selection captures that record's id. I now can transfer this value into my parent/main window. I have another button, for example, that says, "Drop Prospect". That refers to the present prospect. I just ajax a "delete this prospect and repopulate with next prospect". But that's with a record now in tow. Where I'm stuck is - when I have to receive a user's input. Only after I get the user's response can I run an ajax errand. I don't know how to get this done via a popup window's belated response. How can I restructure my strategy to achieve this past record's deletion?