jquery append on muliply array
<p>this my code with in a array i supposed to make tree menu in a table</p>

<pre><code>$myqueryPO-&gt;magGrp = array("[grp] =&gt; MAIN, [grp] =&gt; P1,  [grp] =&gt; P3")
foreach ( $myqueryPO-&gt;magGrp as $dataArray) {
$myGroup = $dataArray[] = $dataArray['grp'];
    &lt;tr class="'.$myGroup.'"&gt;
        &lt;td&gt;&lt;a href="#" id="'.$myGroup.'" class="clickMEdata"&gt;'.$myGroup.'&lt;/a&gt;&lt;/td&gt;
        &lt;td&gt;&lt;/td&gt;
    &lt;/tr&gt;

}


$(function($) {
$(".clickMEdata").click(function(){
var eleMent = $(this);
var mySelected = eleMent.attr("id");
var info = "myID=" + mySelected;
$.ajax({
type: "POST",
url: "ScheduleOfManPower.php",
data: info,
success: function(data){    
var loadUrl = "ScheduleOfManPower.php";
 $("."+mySelected).append().load(loadUrl, info);
}
});
$("."+mySelected).toggle("slow");
});
}); 
</code></pre>

<p>supposed to be the ScheduleOfManPower.php is <code>&lt;tr&gt;&lt;td&gt;hi&lt;/td&gt;&lt;td&gt;foo&lt;/td&gt;&lt;/tr&gt;</code> my problem it seem my append function doesnt work my table not fit what i expected its only query in the 1st <code>&lt;td&gt;&lt;/td&gt;</code> my second problem is the <code>$("."+mySelected).toggle("slow");</code> it seem i need to double click in order from me to show my query.. :(</p>
