title: How to use a var to look up and change a Object Property
body: <p>I'm looking for a way to use a string as a lookup in an Object.
  Here is my code:</p>
  
  <pre><code>$.extend(true, myOptions,{ series: {lines: {show: true} } } );
  </code></pre>
  
  <p>The <strong>lines</strong> property could also be one of these:
  
  <li>bars
  <li>points
  </p>
  
  <p>I have created a form where you can choose between those three options<br>
  So the property <strong>lines</strong> need to be a <strong>variable</strong></p>
  
  <pre><code>$.extend(true, myOptions,{ series: {VARIABLE: {show: true} } } );   
  </code></pre>
  
  <p><em>How do I do that?</em></p>