jQuery: Adding One to Number Inside Element
<p>I'm trying to add one to a number inside a <code>p</code> element with jQuery, but it doesn't work. </p>

<pre>
$(document).ready(function() {
            function addOne() {
                var number  =   $('p').html();
                return number++;
            }

            $('p').text(addOne());
        });
</pre>
