title: Jquery number increment to <p> tag
body: <p>I am trying to write a variable that holds the main value of the paragraph tag as seen here:</p>
  
  <pre><code>&lt;button id="button"&gt;random words&lt;/button&gt;
     &lt;p id="inc"&gt;0&lt;/p&gt;
     &lt;script&gt;
         $(document).ready(function(){
          $('#button').on("click", function(){
            var oldVal = $("#inc")
            $('#inc').text( oldVal + 1)
          });
         });
     &lt;/script&gt;
  </code></pre>
  
  <p>How do I turn the '#inc' into a number so i can do a + 1 increment?</p>