title: How to do render partial on jQuery ajax success method with rails 3
body: <p>I'm using rails 3.2.1 with jQuery for an ajax call.</p>
  
  <p>My jQuery code is :</p>
  
  <pre><code>jQuery.ajax({
    url: "/org_pages",
    data: 'org_id='+ org_id,
    type: "POST",
    success: function(result){                        
      jQuery("#image_center").html("&lt;%= escape_javascript(render(:partial =&gt; 'pages/top_link')) %&gt;");
    },
    error: function(){
      alert('Error occured');
    }
  });
  </code></pre>
  
  <p>My problem is on the web page the output is showing this  :</p>
  
  <pre><code>&lt;%= render :partial =&gt; 'pages/top_link', :collection=&gt;@pages %&gt;
  </code></pre>
  
  <p>How it should display my render partial page. :(</p>