Activity Forums Salesforce® Discussions How to call javascript using Static Resource in Salesforce Visualforce Page?

  • shariq

    Member
    September 23, 2018 at 7:09 am

     

    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