Increase counter value upon clicking button
<p>I want to increase the counter value upon clicking a button. It does not work.</p>

<p>My HTML as follows:</p>

<pre><code>&lt;td&gt;Infocomm Technology&lt;/td&gt;
 &lt;td&gt;
    &lt;label&gt;
      &lt;input type="submit" name="button" id="button1" value="Vote" ref="1" /&gt;
    &lt;/label&gt;
 &lt;/td&gt;
&lt;td width="303"&gt;
  &lt;span id="result1"&gt;1 votes&lt;/span&gt;
&lt;/td&gt;
</code></pre>

<p>My script as follows:</p>

<pre><code>var vote = 1

$(document).ready(function(){
     $("#button1").click(function() {
         var vote = $("#result1").val();
         vote++ ;
         $('#submit').val();
     });
 });
</code></pre>