@Kyleva2204Mar 02.2008 — #Not sure how this is for PHP, but in your <form> tag.. put in TARGET = "_BLANK".. like [code=html]<form target="_blank">[/code]
@NogDogMar 02.2008 — #Better yet, don't mess with my browser by opening up unrequested new windows (which is why the "target" attribute has been deprecated in strict doctypes).
A better solution might be to do some clever things with JavaScript and CSS styling to give the illusion of a separate window with the "success" message in it.
@jamesx521authorMar 02.2008 — #I normally redirect to a Thank You page which is [B]_self[/B], so I don't even bother with changing the current PHP submission code I have, because it opens in the same window. However, in this case, I have a Flash Audio player that plays music without interruption, so the Thank You (for your submission) page has to open in a new window... or, it interrupts the song if it opens in the same window.
@Kyleva2204Mar 04.2008 — #I have just compiled a simple page using AJAX and returning a LightBox with a simple "Thank You" message. I have enclosed the ZIP with this post. I used the Prototype Framework and script.aculo.us, I have included the required Javascript files also in the zip. It should work out of the box for you, just customize it for your needs. I have also included in-depth comments to help you out if you need it.
Hope this helps ?... and I hope im not breaking any more standards with this... lol
@jamesx521authorMar 07.2008 — #Just my personal preference, but I don't like flash (too gimmicky), nor someone else's choice of music.[/QUOTE]If you are asked to put an audio player on a website, where people would be able to select and play different songs... what else are you going to do?