title: Adding number to p.value
body: <p><a href="http://jsfiddle.net/Shmoyojoe/KBcwe/2/" rel="nofollow">Here</a>'s the fiddle. I'm trying to make it so when you press the button, it adds 1 to <code>#num</code>.</p>
  
  <p>JS:</p>
  
  <pre><code>$(document).ready(function () {
      $('#b').button({
          icons: {
              secondary: '.ui-icon-triangle-1-n'
          }
      });
      $('#b').click(function () {
          var x = '#num'.value;
          var u = x + 1;
          document.getElementById('#num').innerHTML = u;
      });
  });
  </code></pre>