In a VF page I need to call a javascript function that is on javascript file stored in static resource.
Here is the javascript of the VF page :
function callTarif(){
callStaticResource();
}
But it says me that callStaticResource() doesn't exist...
The static resource is referenced like this in the VF page :
<apex:includeScript value="{!URLFOR($Resource.myFolder, 'myFolder/vv3-3.js')}"/>
UPDATE
The javascript file in the static resource begin with that :
$(document).ready(function(){
callStaticResource();
}
maybe the document.ready is the problem ?