Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

JQUERY query

  Asked By: Marques    Date: Feb 22    Category: Sharepoint    Views: 1128

I've seen but not used the jquery lib for WEB SVCS by (I think) Marc Anderson).
It was suggested to put it in the stylesheet lib at site collection root.

Can one also put the general jquery lib from jquery.com in the same location and
make calls to its functions, of course, to be executed on the client?

How would your javascript on web page differentiate between these two?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Liana Alston     Answered On: Feb 22

The SPServices library is an excellent tool, and makes SharePoint
development much easier. I would recommend creating a resource library, and
placing both the jQuery library, and the SPServices library there. There are
a couple of ways to reference the libraries, but i don't think the
stylesheet is the best location. I usually add a reference in my master
page, so it's always available. but you can also reference the libraries in
a CEWP.

www.endusersharepoint.com/.../build-a-sharepoint-scripting-resourc\
e-center/

 
Answer #2    Answered By: Daamodar Kolhe     Answered On: Feb 22

The jQuery library is required to run any other jQuery plugin-type libraries.
The base of ANYTHING you do with jQuery will include the base library from
jQuery.com. You need it to load first before you load anything else that is
jQuery-based. It's absolutely correct to put  those two together. You will not
see any clashing between the two as the add-on needs the jQuery lib.

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




Tagged: