title: How do I map my divs to links based on unique ids in jquery?
body: <p>For this html:</p>
  
  <pre><code>&lt;a href="#" id="link-23"&gt;User 23&lt;/a&gt;
  &lt;a href="#" id="link-24"&gt;User 24&lt;/a&gt;
  
  &lt;div id="user-23"&gt;Bob&lt;/div&gt;
  &lt;div id="user-24"&gt;Tim&lt;/div&gt;
  </code></pre>
  
  <p>I'm trying to figure out how to write a script (using jquery) to toggle visibility of <code>div#user-23</code> when <code>a#link-23</code> is clicked?</p>
  
  <p><strong>NOTE:</strong> I'm coding in Rails and the above code is the html output of my script. I'm using an iterator in my script to create these divs and links.</p>