title: How to pass form data values to controller using jquery
body: <p><strong>C# MVC app with Razor views</strong></p>
  
  <p>I am trying to submit a form using Jquery and want to know how to override values in "data". When I click on submit and debug the controller action I can see all the data.</p>
  
  <p>On my form I have the name of an artist.</p>
  
  <p>I am trying to override the artist name using javascript before submitting the data.</p>
  
  <p>If thats not possible I would like to just pass the artist name to the controller. </p>
  
  <p>Here is my script to submit the form.</p>
  
  <pre><code>var artist = "Dick"
  
  $('#publishingForm').submit(function(){
  
  
      $.post('PublishVideo', $('#publishingForm').serialize(), artist, function (data) {
          data.artists = artists;
          //call back happens here. 
      });
  
      return false; 
  
  });
  </code></pre>
  
  <p>So two questions:</p>
  
  <ol>
  <li>How can I  override values in "data"?</li>
  <li>How can I pass an argument when making the call? I am not sure of the syntax </li>
  </ol>