Activity Forums Salesforce® Discussions How to call java script using Static Resource in a Salesforce Visualforce page?

  • Suraj

    Member
    May 2, 2017 at 1:51 pm

    Hi Manpreet,

    Add java script file in Static Resource setup -> develop -> Static Resources -> click on ‘New’ -> Name: filename and add file from local desktop and save.

    We can use that file as follows in Visual Force page

    <apex: includescript values=” {! $Resource.fileName}”/>

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos