title: Combining two input fields to one, jquery
body: <p>Im trying to combine the name field, and msg field, and input all values into #msg, but cant quite get it to work</p>
  
  <pre><code>&lt;script type="text/javascript" language="text/javascript"&gt;
    $('#DocumentCommentsForm_21').bind('submit', function(){
      var name = "##" + $('#navn').val() + "##";
      var msg = $('#msg').val();
      $('#msg').val(name+' '+msg);
    });
    alert($('#msg').val(name+' '+msg));
   &lt;/script&gt;
  </code></pre>