In our visualforce page, we are using:
And we are trying to call a function for an onlabelclick on a pageBlockSection Item.
When we put the function in the top of the page within
<script> tags it works fine, but we are trying to avoid that to keep the page cleaner. Any help is appreciated.