Question : Trying to use java to submit a form

I have a php file that's loaded with css. The <input> tag has a lot of attributes applied to it, so a button - needless to say doesn't look like a button. It's an image.

I have gotten this to work in the past, just can't figure out what I'm over-looking here.
1:
2:
3:
4:
5:
6:
7:
8:
9:
<form name="mailing_list" action="index.php" target="_self" method="POST">
<div style="font-size:.6em;">
<input name="email" size="20">														
<center>																		<div style="padding-left:15px;">
<a href="#" class="link-1" onclick="document.getElementById('mailing_list').reset()"><em><b>clear</b></em></a>
<div class="indent-2">
<a href="#" class="link-1" onclick="document.getElementById('mailing_list').submit()"><em><b>submit</b></em></a>
</div>																		
</form>

Answer : Trying to use java to submit a form

You forgot to put the 'id' in the form tag.
1:
<form name="mailing_list" id="mailing_list" action="index.php" target="_self" method="POST">
Random Solutions  
 
programming4us programming4us