Ignore the on close part, let's get this part sorted out first.
I was saying it looked like an alert box, i don't know what it was called. But I want to be able to put a form (2 text inputs) into a prompt box, alert box, whatever it looks like.
I have come across another example. As I logged onto my computer this morning my MSN messenger logged in and a popup came up asking me to upgrade to the newest version. It had 2 radio buttons (yes and no) and a check box (don't remind me for a week) on it, with 2 different confirmation buttons (submit, tell me more).
Picture something like this if you will:
Code:
|---------------------------------------------|
| (Java-script application) X|
|---------------------------------------------|
| My text here |
| |
| Name: [INPUT BOX=================] |
| |
| Email: [INPUT BOX=================] |
| |
| [submit] [no thanks] |
|---------------------------------------------|
Something like that above. NOT a pop-up with another webpage inside of it, but a gray background, blue title bared, (javascript application) titled alert box, prompt-box, message box, whatever.