title: Rendering a Rails partial on a jQuery click function
body: <p>I may be thinking of this all wrong but I've been trying to render a partial in a jQuery click function like so...</p>
  
  <pre><code>closeShow.click(function(){
      parentDiv.empty();
      parentDiv.html('&lt;%= escape_javascript(render "sibling_div_partial") %&gt;');
  });
  </code></pre>
  
  <p>I've also tried using <code>.append</code> for the partial but the when I check the view in the browser, it comes up with just the text (i.e <code>&lt;%= escape_javascript(render "sibling_div_partial") %&gt;</code>) instead of the partial. </p>
  
  <p>A little more infomration as to what I'm trying to accomplish.... I want to remove a div when the close button is clicked and then rebuild that div as a partial when a close button is clicked. </p>
  
  <p>Am I conceptualizing this all wrong? </p>