Please Help I am trying to make a counter that when i click a button it adds .01 to a running total. Below is the code I have created but when i click on the button it adds one and deletes the bid button
<html>
<form>
<input name = "count2" type = "text" value = "$0.00">
<input type = "button" value = "Bid" onclick = "addhour()">
<script type = "text/javascript">
var count = 0
var count2 = 00
function addhour() {
count2 ++;
document.write("$" + count + ".0" + count2);
}
</script>
</html>