I'm very new to web apps, so excuse my ignorance. In VB, it's quite easy to have a message box appear after a user runs a function, using msgbox(msg) etc, or making a label or textbox display a message. With ASP, I'm lost.
After sending an email, I'd like a message to appear on the asp form letting the user know the result. Nothing appears on the page using the code below (snippet behind a button Server code). I'd want the message to appear near the button that runs the email function. I can get response.write to work on a basic html page but not on the asp page. Can anyone point me in the right direction to doing 2 things? (1. write a message to the ASP form 2. Use a message box where a user can select select yes or no, or is that even possible?)
if not ret("mailed") then
response.write ret("Email was not sent.")
else
response.write ret("Email was sent.")
end if
Thanks, any help would be appreciated.