|
Hi all,
I just finished my Send to a Friend form in ASP and the code that sends the email and it's working really well.
There's just one finishing touch I want to make.
After I send off the email, I have the ASP code redirect the user back to the original article from which they referred to their friend.
For example, this original URL was pushed through from the article page to the "send to friend" form via a hidden field with http_referer in it. I referenced this hidden field to a variable that is sent in the email (so the friend has the URL to being refered). After the email sends successfully, I then use this variable to redirect the user back to the orginal article page.
I want to let the user know their email was successfully send via a javascript alert. The code to create the email is entirely written in ASP.
Is there a way to call a javascript alert in ASP?
Thanks
Donna
|