What is a valid way of loading external JavaScript files into a - ProProfs Discuss
Cancel
TopicsDown
Products Down
Follow Us:
FacebookTwitter
Advertisement

What is a valid way of loading external JavaScript files into a Visualforce page?

What is a valid way of loading external JavaScript files into a Visualforce page?

Change Image    Delete



A. Using an (apex:includeScript)* tag. \\>
B. Using an (apex:define)* tag.
C. Using a (link)* tag.
D. Using a (script)* tag.

This question is part of Salesforce Platform Developer 1
Asked by Wyatt Williams, Last updated: Sep 23, 2020

+ Answer
Request
Question menu
Vote up Vote down

2 Answers

F. Ray

F. Ray

F. Ray
F. Ray, Student, Kansas City

Answered Jul 20, 2018

The answer to this is letter A which means that you are going to use an (apex:includeScript) tag. \>. Exchange all of the () with greater than or less than symbols. You need to be specific about the static name that you will use. If you use the wrong name, then it will be hard to accomplish what you want to do.

If you have uploaded a zip file, you need to use a URL to make this successful. The page that you are rendering may load a bit before it will make use of the code that you have placed so wait for a while before you check if everything is executed properly.

upvote downvote
Reply 

John Smith

John Smith

John Smith
John Smith

Answered Apr 05, 2017

Using an (apex:includeScript) tag. \>
Using a (script) tag.

For this question, replace ( ) with less/greater than symbols. ####
upvote downvote
Reply 

Advertisement
Advertisement
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader
Image Preview
Search for Google images Google Image Icon
Select a recommended image
Upload from your computer Loader

Email Sent
We have sent an email to your address "" with instructions to reset your password.