You need to sign in to do that
Don't have an account?
venkat 10
Issue
Hi all,
How can I call Static resource on Visualforce page, If I'm doing with "<apex: include script value= value="{!$Resource.add}"/>}"/>" is not functioning. Please help in doing. Thanks for Help.
How can I call Static resource on Visualforce page, If I'm doing with "<apex: include script value= value="{!$Resource.add}"/>}"/>" is not functioning. Please help in doing. Thanks for Help.
Use this script this will help you to add the script on the page. If you found it useful please appreciate my efforts and mark it as the best answer
Regards,
Soyab
Follow these points this will help you.
- Remove HTML tag from page. <html></html>, Because salesfore autamatically add html tags.
- Remove apex:includeScript tag from the body and add inside the heading tag. <head></head>.
- myFunction() function should take some parameters and return some values from your static resource file.
- Store myFunction() return value somewhere and show to your page.
If you found it useful please appreciate my efforts and mark it as the best answerRegards,
Soyab