Timer instead of button

Hello, I got a webiste with a box and a send button. I want to edit the site to that I don't have to press send. Instead the site dose it for me. Heres the webiste: http://weluvpie.net/Voter/itzcake.html

Here's the script
<link rel="stylesheet" href="images/HigherGround.css" type="text/css" /> 
 
<BODY STYLE="background-color:transparent"> 
				
 
 
			<style> 
*{ FONT-SIZE: 10pt; FONT-FAMILY: arial; } b { FONT-WEIGHT: bold; } .listtitle { BACKGROUND: #9fb60e; COLOR: #fff; white-space: nowrap; } td.list { BACKGROUND: #EEEEEE; } </style> 
 
<center> 
<table cellpadding="5" cellspacing="1"> 
 
<center><font face="arial"><font size="2"><td class="listtitle">&nbsp;Vote for RydahMS and get 1 Rydah Point!</td></tr> 
<form action="http://r62x.zapto.org/scripts/voteconfirm.php" method="post"> 
  <td class="list" align="left"><b>&nbsp; Character Name: &nbsp; </font></b> 
  <input type="text" size="20" maxlength="17" value="iTzCake" name="CharName" height=""></input></td></tr> 
  <tr><td colspan="2" class="list"><font color="#0000">&nbsp; Please log out before voting.</font></td></tr> 
  <br> 
  <tr><td class="listtitle" colspan="2" align="right"><input type="submit" value="Vote!";"></input> &nbsp;</td></tr> 
  <br> 
 
 
</form> 
 
</center> 
 
</style></font></background></color></center></td></tr>

Open in new window

MartanEliteAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hieloCommented:
Try adding an onchange event:
<input type="text" size="20" maxlength="17" value="iTzCake" name="CharName" height="" onchange='this.form.submit();'>

Open in new window

0
MartanEliteAuthor Commented:
Where should I add it? Im not an expert in html =P
0
MartanEliteAuthor Commented:
Aha, it worked. But how can you do it whout changeing anything in the box?
0
HainKurtSr. System AnalystCommented:
addthis to the end

<script>
document.forms[0].submit();
</script>
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
MartanEliteAuthor Commented:
Thanks! It worked!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.