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?
 
HainKurtConnect With a Mentor Sr. System AnalystCommented:
addthis to the end

<script>
document.forms[0].submit();
</script>
0
 
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
 
MartanEliteAuthor Commented:
Thanks! It worked!
0
All Courses

From novice to tech pro — start learning today.