Options

Java button submit a form

aueddonlineaueddonline Member Posts: 611 ■■□□□□□□□□
I've made a HTML form and need a bit of java script that will e-mail the information entered. I'm using Visual Web developer 2008 express, my guess so far is if I get some code for "function Submit1_onclick()" and the put the right thing in the form action"" I might get this working, Anyone point me in the right direction, it's turning into a long day :)

<script language="javascript" type="text/javascript">
// <!CDATA[

function Submit1_onclick() {

}

// ]]>
</script>

<form method="post" action="">

<br />
<table class="style1">
<tr>
<td align="right" width="300">
First name:

<input id="Text1" type="text" />
<br />
Surname: <input id="Text2" type="text" /><br />
Company:
<input id="Text3" type="text" /><br />
Telephone Number:
<input id="Text4" type="text" /><br />
<br />
Addtional information:<br />

<textarea id="TextArea1" cols="30" rows="10" name="S1"></textarea>

<br />

<input id="Submit1" type="submit" value="Press to Submit" onclick="return Submit1_onclick()" />
</td>
<td width="300">
 </td>
</tr>
</table>
<br />
<br />
</form>
What's another word for Thesaurus?

Comments

Sign In or Register to comment.