title: How do I get jQuery to re-render a partial from Ruby and then place it in a div?
body: <p>I have a button which looks like this:</p>
  
  <pre><code>&lt;%= link_to "Join", "#", :id =&gt; "joinleave", :class =&gt; "buttonrefresh small join button expand", :'project-id' =&gt; @project.id %&gt;
  </code></pre>
  
  <p>I then have jQuery called when it gets clicked. It changes the text in the button and the button function and all that, but I then need it to re-render a partial from Ruby into a <code>&lt;div&gt;</code>.</p>
  
  <pre><code>&lt;div class="content" id="peoplerender" data-section-content&gt;
    &lt;%= render 'people' %&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The .js is in "assets/javascript" and the view is in "apps/views/projects".  The partials are also in the same folder and work fine when the page loads. I just need it to update when the button is pressed.</p>