Is there anyway I can make my this page block section drop down, only when user click on it. Thanks
<apex:pageBlockSection title="Batch 3" collapsible="true" columns="1">
//Stuff
</apex:pageBlockSection>
I tried using this method, it does not work,
<script>
twistSection(document.getElementById('{!$Component.theForm.thePageBlock.section1}').getElementsByTagName('img')[0])
</script>
twistSection()
is against best practices as it could change, and break, in future platform releases.