14
votes
5answers
8k views

Deploy jQuery using a SharePoint Feature or physical files?

We are about to undertake a rather large customization of SharePoint and I wanted to get some feedback prior to jumping in with both feet. One of the issues we are kicking the tires on is do we deploy ...
3
votes
3answers
10k views

GetListItems Webservice ignores my query filter

The code below seemingly executes the web service and returns values, but ignores the where clause (thus returning all items in the list). This is the simplest form of the problem that I've come up ...
3
votes
4answers
31k views

How to use jquery correctly in SharePoint Web Part - jquery doesn't always fire

I'm learning how to use jquery with SharePoint. My example draws a red box inside the Content Editor Web Part when a link is selected. My code works when the SharePoint page is in edit mode but not ...
4
votes
3answers
7k views

Filter duplicate options from select dropdown

I have a dropdown selector generated from a list and want to filter the options to remove the duplicate entries. e.g. I want to filter ... <select name="company"> <option ...
2
votes
2answers
7k views

SharePoint SOAP GetListItems VS jQuery - Need some advice on how to use Ajax to cycle through Custom List items as well as Ajax refresh the list contents

I am using jQuery to access Sharepoint 2007's SOAP interface via the GetListItems method to read in a custom list of anouncements in such a way as to have that list refresh once a minute (in case the ...
8
votes
7answers
14k views

ASMX webservice not returning JSON, can only POST using application/x-www-form-urlencoded contentType

I can call my webservice using jQuery IF the contentType = "application/x-www-form-urlencoded; charset=utf-8" This will, however, return the xml: <string>[myjson]</string> If I try to ...
3
votes
2answers
4k views

Using SharePoint SOAP with jQuery GetListItems - Simple but can't work it out!

I'm trying to load in a SharePoint list to a Unordered List so I can create a simple search function (the Sharepoint Search is just horrible). The code I have borrowed and adapted is below: ...
1
vote
3answers
3k views

Apply CSS on a Specific SharePoint Ribbon Bar Button?

Is there a way to simply hide a particular SharePoint ribbon bar button? I've see the CSS code for hiding the entire ribbon bar, but I only want to hide 1 button on it (the check-in button). I've ...
0
votes
0answers
1k views

How to retrieve sharepoint 2013 list data using JQuery or JavaScript and Fill DropDownList?

I am trying to retrieve list data using JavaScript. But something goes wrong. I am trying to debug the code but I am not able to understand that thing. Following is the JavaScript Code: ...
0
votes
2answers
3k views

Sharepoint2010 - QuickLaunchMenu accordion style

I try to change QuickLaunchMenu of my Sharepoint2010 site to use accordion style. How can I get the current selected item? Is there a possibility to add a css class to the current (active) nav-item? ...
0
votes
2answers
6k views

jQuery “.cycle is not a function” error - follow-up from http://stackoverflow.com/questions/1586998/

So I am trying to implement the solution suggested to me in my previous question (http://stackoverflow.com/questions/1586998/). I want to use the Cycle library found here: ...
4
votes
4answers
952 views

jQuery POST. Can't get Request parameters using custom httphandler

I have a jQuery post method with JSON data included. In my httphandler, in the processRequest method, Request["Operation"] is null and none of my data is posted. I am in a SharePoint 2010 ...
3
votes
3answers
256 views

Apply same width to child divs as parent div

i have one div which contains several divs. I changed the parent div width. But because of the divs which are children to the parent div, the width is increasing. i written the css class like this. ...
3
votes
1answer
2k views

How can I get an oauth access token in sharepoint 2013?

I have this site here: http://msdn.microsoft.com/en-us/library/jj164022(v=office.15).aspx the text in some part says: The following JavaScript code demonstrates how to make this GET request that ...
3
votes
3answers
1k views

Is my jQuery CDN url correct?

Could anyone confirm the the CDN src link for jQuery? I am using the following: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"> ...

1 2
15 30 50 per page