| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Some Script Help
My company threw their website in my lap because our coder left and I don't know as much as i'd like to about ASP.
Could someone help me with these two problems... 1. I would like to add a statment to this code that if an image being called doesn't exist that the code would display a default image in the images folder. Something like if sEDP=null, then show the default. Again, I don't know how to code it, could someone help? Here is the code... <img src="/images/p<%= sEDP %>b.jpg" border="2" alt="<%= sItemName %>"> 2. We have an email op in form and i'd like to have a responder email sent to the user when they opt in. I guess the easiest way would be add a way to forward their email addres to an in house email where a automatic response would be set up. Here is the form code... <form method="POST" action="emailsignup.asp" name="emailsignup2" onsubmit="return emailVal(this)"> <input type="text" NAME="email" SIZE="22" value="enter e-mail here" onClick="return clearemail2();"> <input type="submit" name="submit" value=" Sign Me Up! " STYLE="background-color: #CC0000; color: white; font-weight: bold; font-size: 11pt;"> </form> How would I add it? Thanks!!! |
|
#2
|
||||
|
||||
|
Please move this thread to the ASP forum. You'll probably get a quicker/better response there...
__________________
selwonk If I've posted some code above, you might think it looks a bit simplistic. It might be. I'd rather people tried the next step themselves rather than getting a full solution on a plate. That way they learn more! |
![]() |
| Viewing: ASP Free Forums > Programming > Code Bank > Some Script Help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|