title: How to get select list data from view to controller action without data binding?
body: <p>When I need to get a string or check box value that are not tied to a model from view, I just add it as a parameter to POST method action in my controller which has the same name and id html attributes in view's form section.</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;input type="text" name="customValue" id="customValue"&gt;
  </code></pre>
  
  <p>Controller:</p>
  
  <pre><code>[HttpPost]
  [ValidateAntiForgeryToken]
  public ActionResult Create([Bind(Include = "Title,Content")] Post post, string customValue)
  {
  .....
  }
  </code></pre>
  
  <p>It works fine.</p>
  
  <p>Recently I wanted to try same thing with select list...But I can't figure out how to get that to controller action. All the examples about passing select list data to controller requires strongly typed objects. I want to create my select list with javascript on client side.</p>
  
  <p>Lets say I have this select list in my form html:</p>
  
  <pre><code>&lt;select multiple name="myCustomSelectedCars" id="myCustomSelectedCars"&gt;
    &lt;option value="volvo"&gt;Volvo&lt;/option&gt;
    &lt;option value="saab"&gt;Saab&lt;/option&gt;
    &lt;option value="opel"&gt;Opel&lt;/option&gt;
    &lt;option value="audi"&gt;Audi&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>and I will play with options dynamically client side with javascript.
  Then how I can get that to my controller?</p>
  
  <p>I can't do something like:</p>
  
  <pre><code>[HttpPost]
  [ValidateAntiForgeryToken]
  public ActionResult Create([Bind(Include = "Title,Content")] Post post, SelectList myCustomSelectedCars)
  {
  </code></pre>
  
  <p>PS:
  What I want to get to my action is key/value pair, without model binding. Select list seemed trivial but I'm open to suggestions.</p>