Problem with jquery function call
<p>I am newbie with jquery and ajax. I have used a href to show and hide particular division with JQuery. In that div I am fetching records from database using ajax with some function. I don't know how to call that function on div on show.</p>

<p>Other option I have is on show button (that I used to view division) I call that function. But let me know how to call function on show button.</p>

<pre><code>$('.childinfoshow').click(function() {
$(this).showchild(pgid); 
$(".childinfoshow").hide();
</code></pre>

<p>I have used this code but we above code I need to send pgid as argument and pgid is session value in php. How can I achieve both things.</p>
