jQuery: using a variable as a substitute for a div?
<p><strong>Ooops, fiddle updated now correct</strong>
In this fiddle, <a href="http://jsfiddle.net/SySRb/118/" rel="nofollow">http://jsfiddle.net/SySRb/118/</a>  once you click <code>.start</code> an element from an array is randomly chosen and assigned to variable <code>ran</code>  This random selection jquery has been checked <a href="http://jsfiddle.net/urfXq/96/" rel="nofollow">http://jsfiddle.net/urfXq/96/</a> and is working so I don't think that's the problem, although people have suggested ways to make it more elegant. </p>

<p>Continuing on...</p>

<p>After the element from the array is assigned to <code>ran</code>, an if- then structure begins. The <code>if</code> is definitely false in this fiddle, so  the <code>else</code> code should run. My intent with the else code is to add the div hash tag, and then do ran.show so that one of the two divs (hidden with css) on the page becomes visible. </p>

<p>The else isn't working. If the if statement were true, I assume it wouldn't work either...</p>

<pre><code>else { 
                  ran = ('# + ran');
                  $('ran').show(); //one of the two divs should show but they don't
                  }

          });
</code></pre>

<p>Note, because this is just a piece of larger code, if you totally restructure everything, I may not be able to use it...</p>
