title: Associative arrays in Jquery
body: <p>If I have an associative array like this:</p>
  
  <pre><code>var names = { '10watt' : '_ULR', '20watt' : '_ULR', '30watt' : '_ULR', '40watt' : '_ULR', '50watt' : '_ULR', '60watt' : '_ULR', '75watt' : '_ULR', '100watt' : 'ULCR', '120watt' : 'ULCR', '150watt' : 'ULCR' };
  </code></pre>
  
  <p>how do I write the value of the key to the browser, if the key is this.id?</p>
  
  <p>I tried this but it didn't work (#name is the div I want to put the text in:</p>
  
  <pre><code>$('#name').text(names(this.id));
  </code></pre>