Friday, April 08, 2011

Referencing resources in SharePoint libraries

Wow, my first blog posting for 2011 - yes I have been busy, and neglectful!

One thing that's kept me busy is working with jQuery & SharePoint - very good stuff. But I have my jQuery js's and style sheets in a SharePoint document library. When I tried referencing them, I kept getting errors on the page...

because, I wasn't referencing these as:

<script src="./Jquery/jquery.tools.min.js" type="text/javascript">

Note the "." before the library name - that's what was missing.

Back to it! See ya!

1 comment:

PaulY said...

thanks for sharing this steve, ive been really into scripts back then but i stopped a few years ago and getting really rusty at it. I work as an import and export manager right now and I am thinking of making a program that could store our inventory with videos and pictures, the works.