we have a Javascript sheet saved as a static resource and one of our developers is attempting to invoke a function from it in our visualforce page.
In our visualforce page, we are using:
<apex:includeScript value="{!$Resource.QA_Javascript}"/>
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.
<apex:page standardController="QA__c"> <apex:includeScript value="{!$Resource.QA_Javascript}"/> <apex:form > <apex:pageMessages /> <apex:pageBlock title="QA Scoring Form">
– George Albrecht Oct 8 '14 at 18:57