If you need to add content related list in you visualforce page try the following...
<apex:relatedlist list ='content__r'>
If you need to add content related list in you visualforce page try the following...
<apex:relatedlist list ='content__r'>
$(document).ready(function(){
$("#userdata tbody").html("");
var json = {!jsonString};
var tr;
for (var i = 0; i < json.length; i++) {
var tblRow =
"<tr>"
+"<td>"+json[i].Accountid+"</td>"
+"<td>"+json[i].AccountData+"</td>"
+"</tr>";
$(tblRow).appendTo("#userdata tbody");
}
});
<apex:pageBlock title="Table Using JSON" id="TableUsingJSon">
<apex:pageBlockSection columns="2">
<apex:outputPanel >
<center>
<table id="userdata" border="1">
<thead>
<th>Account id</th>
<th>Account Name</th>
</thead>
<tbody></tbody>
</table>
</center>
</apex:outputPanel>
<apex:pageBlockSectionItem >
<apex:outputPanel >
{!jsonString}
</apex:outputPanel>
</apex:pageBlockSectionItem>
</apex:pageBlockSection>
</apex:pageBlock>
$("[id$='AccountFilter']").change(function() {
var selval=$(this).val();
$("[id$='AccNameHeader']").each(function(){
var t= $(this).children('span').text();
if(selval != 'All'){
if(selval == t){
$(this).parent().css('display','');
}else{
$(this).parent().css('display','none');
}
}else{
$(this).parent().css('display','');
}
});
});
<apex:pageBlock title="JQuery Filter For PageblockTable" id="AccountNamewithFilter">
<apex:form >
<apex:selectList value="{!AccPick}" size="1" id="AccountFilter">
<apex:selectOptions value="{!AccNames}"/>
</apex:selectList>
</apex:form>
<apex:pageBlockTable value="{!AccountList}" var="a">
<apex:column headerValue="Account Name" id="AccNameHeader">
<apex:outputText styleClass="AccountNameClass" value="{!a.Name}" id="AccName"/> </apex:column>
<apex:column headerValue="Phone">
<apex:outputText styleClass="AccountNameClass" value="{!a.Phone}"/>
</apex:column>
</apex:pageBlockTable>
</apex:pageBlock>