jQuery- Using a variable as a selector?
<p>In this fiddle, <a href="http://jsfiddle.net/5L8Q8/52/" rel="nofollow">http://jsfiddle.net/5L8Q8/52/</a>  if you click the black box, it randomly selects either "ONE" or "TWO" from an array and assigns that value to "ran."</p>

<p>There are also two divs on the page "ONE" or "TWO" with text content in each. These divs are unrelated to the values selected from the array</p>

<p>Depending on the value assigned to ran, I want to express the text contents of div "ONE" or "TWO" inside div "result"...</p>

<p>I was playing around with something like this below but made no progress</p>

<pre><code>$('#result').html(function() {
  //some function to put contents of either div ONE or TWO (depending on ran) inside of #result
});
</code></pre>
