loading content from php file with jQuery
<p>The following code fetch all data (by clicking a.info link) from a php file "info.php" and prints in the #content div. The problem is that it prints everything from info.php file. Can I possibly select only some part of data from info.php file to load in #content?
The reason to ask this question is that, I want to load different data from the same php file for the different links. </p>

<pre><code>$("a.info").click(function(){
var id=$(this).attr("id");
$("#box").slideDown("slow");

$.ajax({
    type: "POST",
    data: "id="+$(this).attr("id"),
    url: "info.php",
    success: function(html){
        $("#content").html(html);
    } 
});
});
</code></pre>

<p><strong>Html where content is loading:</strong></p>

<pre><code>   &lt;div id="box"&gt;
    &lt;div id="content"&gt;&lt;/div&gt;
    &lt;/div&gt;
</code></pre>

<p><strong>info.php</strong></p>

<pre><code>paragraph1.
    paragraph2.
</code></pre>

<p>For example, In the above info.php file, i only want to load paragraph1 in the #content.<br>
    I hope my question is clear. Any help will be appreciated.</p>
