|
» W3Exchange http://www.w3exchange.com/index.html » PHP http://www.w3exchange.com/view_forum-id-36.html » text box http://www.w3exchange.com/view_topic-id-920.html |
| Carey - 2007-03-11 15:05:40 |
Alright, I want a text box that users can type stuff into and submit it to my email. this is what i made. Code::<!-- start: nav -->
<div class="navigation">
<!-- start: nav_bit_active -->
<span class="active">Think-Wii</span>
<!-- end: nav_bit_active -->
</div>
<!-- end: nav -->
<br class="clear" />
<!-- end: header -->
<script type='text/javascript'>
function changeDesc(job)
{
document.getElementById('desc').innerHTML=job;
}
</script>
<table border="0" cellspacing="1" cellpadding="4" class="tborder" style="clear: both;">
<tr>
<td class="thead"><strong>Contact Us</strong></td>
</tr>
<tr>
<td class="trow1"><br />
<form action='' method='post'>
Subject: <select name='Subject' ' id='Subject'>
<option value=' Affiliate' onmousedown='changeDesc(" Add our button on your site.")'> Affiliate</option><option value=' Site Bugs' onmousedown='changeDesc(" Report a bug found on the site.")'> Site Bugs</option><option value=' General' onmousedown='changeDesc(" General questions or Comments.")'> General</option><option value=' Other...' onmousedown='changeDesc(" Other...")'> Other...</option></select><br/>
<span style='font-weight:bold' id='desc'></span><br/><br/>
<p>Input Text<br/>
<textarea cols='50' rows='5' name='desc'></textarea></p><br/>
<input type='submit' value='Submit Form'/></form>
</td>
</tr></table></html>The problem is I get this when I submit. |
» Print this topic |