Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Adding JS file

  Asked By: Juana Daugherty         Date: Jan 02, 2010      Category: Sharepoint      Views: 505
 

What is the correct procedure to add a javascript file to SharePoint ?

I want to add some scipt to my pages. I would like to refer this javascript
file, in a Content Editor (CE) web part and add CE on my pages. The problem is
javascript file absolute path, I cannot refer it if I place it in Layouts.

what I will NOT do is copy and paste the javascipt in content editor web part
directly. The reason is that very instance of CE will store its own copy of
javascript code which will prevent me from centralize update.


Do you know someone who can help? Share a link to this thread on twitter, or facebook.

Tagged:      

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Adding JS file Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].