write over html number using jquery
<p>I have a line of html </p>

<p><code>&lt;p&gt;Guess #&lt;span id="count"&gt;0&lt;/span&gt;!&lt;/p&gt;</code></p>

<p>I need to write a function that will increment the number within the <code>&lt;span&gt;</code> tags by 1 each time the <code>#guessButton</code> is clicked. A simple <code>.replaceWith()</code> method wont work because that doesn't count. I'm assuming I need a for loop. </p>

<p>So far I've got this:</p>

<p><code>$("#guessButton").click(function() {
        addOne();
    });</code>   </p>

<p><code>addOne()</code> being the name of the function I will use to increment. </p>

<p>What javascript method can I use in the <code>addOne()</code> function to reference a number in the html and make it responsive? </p>