Success/error messages in pop-up from PHP

  ade.h 19:19 20 Jul 2006
Locked

I would like to be able to display my success and error messages in a javascript pop-up when a form is completed.

Is this possible? Can the pop-up script be added to the PHP file? Or would I have to make do with a script action assigned to my submit button (which would mean only one message)?

  harristweed 08:29 21 Jul 2006

Why in a pop-up? They get blocked by browsers! Why not in the main page?

  harristweed 08:59 21 Jul 2006

example
click here

  ade.h 13:09 21 Jul 2006

Because I want it in a pop-up. I do not want to devote a big empty page to one little bit of text.

  ade.h 13:10 21 Jul 2006

And my browser never blocks pop-ups that I have initiated, so I don't see that as a problem. It's not even a commercial site.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

See the work of famous artists playing with toys

iPad Pro 10.5in (2017) review

Comment faire une capture d’écran sur un Mac ?