title: Using Jquery to append form field's value to form action?
body: <p>I have a simple form with a few textboxes on it. I would like to capture the input of the textboxes, modify it slightly and then append it to the form action URL.</p>
  
  <pre><code>  $('.myBox').on('change', function (event) {
          var myVal = $(this).val();
          $('form').attr('action').appendTo("&amp;MyVal="+myVal);
      });
  </code></pre>
  
  <p>The above code doesn't work because there is no appendTo to the attr value. Is there another way to accomplish this?</p>