An open-source, cross-platform JavaScript library, now endorsed by Microsoft

learn more… | top users | synonyms

0
votes
1answer
578 views

use jQuery Modal instead of SharePoint modal

So I understand this is a strange question, but is there a way to use content displayed in a SharePoint modal, in a jQuery modal instead. I like the styling jQuery offers, but the SharePoint modal ...
0
votes
1answer
89 views

Searching for a CEWP on a page using jquery

I have a requirement where in i have to set the link of the CEWP using jquery on a button click. The approach i was thinking of is : On button click , find the CEWP on the page. Change the link to the ...
0
votes
1answer
2k views

Get URL of image from Picture Library using CAML

How is it possible to get the URL of an image that is stored in a Picture Library using CAML? Currently, I've made a CAML Query and run it in the U2U CAML Query Builder, and am seeing values like ...
0
votes
1answer
350 views

CEWP showing up in IE and in FF, but not in Chrome or Safari

I'm implementing the nivo-slider in a Content Editor Web Part, and it shows up and works in Firefox and in Internet Explorer. I'm referencing a text document through the content link, and this is ...
0
votes
2answers
4k views

Using GenFireServerEvent(('__commit;__redirect={/}')) in JQuery function on SP2010 Page

I have a custom Submit button on a custom NewItem form. I have a JQuery function which I would like to run when this button is clicked. I also need the GenFireServerEvent(('__commit;__redirect={/}')) ...
0
votes
2answers
548 views

referencing jquery in a sandboxed solution

I have a sandboxed sharepoint project, in which I have created a module, put jQuery there and referenced it from my webpart's ascx page like this: <head> <script ...
0
votes
3answers
626 views

javascript issue in sharepoint

I am having issues making a javascript work. Basically i just use this script for different web parts which have the .q1table class to insert some other classes. I am getting an error uncaught type ...
1
vote
2answers
661 views

Jquery in Sharepoint 2010 not working for all users

I have a very strange problem where there is some custom jquery interface buttons to show and hide certain fields in sharepoint. The script builds fine(script that has worked on previous sites) but ...
0
votes
2answers
847 views

Quick launch to a webpart page using Jquery/javascript SharePoint 2010

Is there a way to add quick launch to a webpart page using Jquery/javascript in SharePoint 2010? Note : I don't have access to SharePoint Designer
6
votes
2answers
2k views

Phone-Gap Claims Authentication against SharePoint in Office365 fails, probably because of HTTPOnly flag in cookie

I am coding an application using Phone Gap to connect to a Sharepoint in Office365. I need to use the REST services in Sharepoint Office 365 to add items to a list, but before that I need to ...
1
vote
0answers
231 views

How to get lookup field text column to display as an image in a view?

Wonder if anyone can help. I want to add a category choice field to a SP2010 Announcements list. The category choice is a lookup field to another list. The other list contains the categories and a ...
2
votes
1answer
778 views

Interesting trouble with getlistitems not returning list items

I'm a bit new to spservices, and I hope I'm not asking a question that's already been answered. I've checked and haven't been able to find one like it. I'm using GetListItems to retrieve url's and ...
0
votes
1answer
229 views

Sharepoint 2010 <Status>ERROR_NO_AUTHORIZATION</Status> jquery search,asmx

I have a subsite with unique permissions. Users do not have access to the root, site. This site has jquery ajax people search which performs a search.asmx. This fails. even if the path to the ...
1
vote
2answers
998 views

Add jQuery to Custom CQWP to make scrollable - SP2010

So if I create a custom cqwp (by that I simply mean customizing the view by adding fields to webpart and modifying the xslt in itemstyle), can I apply jquery after the fact to limit the size the ...
0
votes
2answers
184 views

jquery ajax error on MOSS 2007

I'm getting this error on my sharepoint web application (I'm calling my own web method through ajax on my own user control) while accessing it from another computer and I'm getting this error: ...
0
votes
2answers
478 views

External List and jQuery

I have an external list that I want to hackup with jQuery. If i put a simple alert in document .ready, it fires, and THEN the SharePoint progress spinner shows up, and then the data is returned - long ...
0
votes
3answers
167 views

How to stop SharePoint from writing JavaScript code over and over?

I'm using PIE.js to force IE7 to use CSS3 styles. However, whenever an element on my SharePoint page contains the class that PIE is supposed to style, it actually inserts the code into the html when ...
1
vote
1answer
994 views

how to Render Controls from CodeBehind into a specific Panel

I'm in the process of working thorugh Microsofts video tutorials for developing on Sharepoint. My actual small project is to create a visual Webpart which displays a list of all registered users with ...
1
vote
2answers
2k views

SPServices GetListItems don't work most of time

I'm using SPService in a list for take some information from an other list. It works just sometimes... I need to refresh lot of time before it works .... Here is my code : <script ...
0
votes
1answer
242 views

Ajax or jquery enabled Tab Zone Webpart with SourceCode

I am trying to find a TabZone Webpart Ajax enabled or using jQuery so that when I click on tab 2 while i am on tab 1 it shouldn't do a postback and make changes without loading page again. We are ...
2
votes
1answer
717 views

XsltListViewWebPart remembering state in cookie not working properly

I have a XsltListViewWebpart that shows a tree structure with nodes. I made a jquery script that sets a cookie which persists the state of the nodes (expanded/collapsed) between postbacks. I added ...
0
votes
1answer
506 views

Changing the background color of a Wiki page in SharePoint 2007

Can't find anything specific on this on Google, but I am looking to find a way to change the default white background color of the main content area in an individual SharePoint 2007 wiki page. I have ...
0
votes
1answer
318 views

Simple jQuery to extend page body if Quick Launch has been toggled SP2010

Beginner. I have a link that expands a single page onclick with the following jQuery: <script type="text/javascript"> var $j = jQuery.noConflict(); function toggleQuickLaunch() { ...
1
vote
1answer
233 views

Filter a list by a value in a User's profile

I would like to replace the functionality of the Current User Filter of SharePoint Server 2010 enterprise. I think I might be able to use SPServices.SPGetCurrentUser but I am unsure if it is ...
0
votes
1answer
684 views

How to find a document in a document library using jquery

I have a requirement to check for duplicate documents in the document library. How can i implement this using jquery. Please share the code.
0
votes
5answers
2k views

JS/jQuery Check if on root web of root sitecollection

How is it possible to check in JS/jQuery if the user is on the root site of the root sitecollection in the webapplication? (Sharepoint 2010) Thanks! Example: ...
0
votes
1answer
197 views

CEWP with Calendar New Form : hidding selections, setting all day by default

So I came across a cool trick first in a book, then on a blog (here!), but it doesn't work for me. It's straightforward enough, couple lines of javascript/jquery, and a cewp in order to auto-select ...
1
vote
1answer
378 views

__doPostBack disables my jquery code?

I am really struggling with a SharePoint page I am creating which contains a DataFormWebPart which pulls data and displays it in a table. The table has pagination controls like you would expect. I ...
1
vote
1answer
988 views

Loading script on every postback

I am trying to load a script (that remembers the clicked nodes for a xsltlistview in a jquery cookie) on every postback. The events when i postback should be: 1. save clicked nodes in cookie 2. ...
1
vote
0answers
259 views

How to get column data value in an array using Javascript (No .Net coding)

I am working on Sharepoint 2007 and I have a Sharepoint Document library having 3 columns namely : Type, Name, Modified BY. Column "Name" is having all the folders inside it. On clicking the folder, a ...
3
votes
1answer
652 views

jQuery autocomplete dissapears on postback

I'm using the jQuery autocomplete and this works perfect. But when I do a postback, it looks like the page "forgets" that there is an autocomplete on the textbox. Important to know: this textbox is ...
1
vote
1answer
1k views

set multiselect lookup column using jquery

I have a Multi select Look up column which as you all know is a control with two list boxes and "Add or Remove" Buttons. The user populates the right-hand side of the control with some values by ...
0
votes
0answers
478 views

how to handle jquery effects after pagination

I have a jquery effect that manger hover events on images in a Data View Webpart. When the page loads the hovers work find in the table. But when I click next to paginate to the next set the hovers ...
1
vote
2answers
438 views

How To Get Site Title From URL in other web app

I have a situation where I need to retrieve the site title for a site in another web application using client side scripting. Client site JQuery SOAP calls to the "Webs" web service returns the ...
3
votes
2answers
1k views

How to set Taxonomy Control using jQuery

I have a list with managed metadata column. In the new and edit form, I would like to set the value of that field using javascript. Is it possible to set the Taxonomy Control ...
1
vote
2answers
219 views

Re-executing JQuery Function on List Manipulation

I have the following JQuery code entered into a content editor web part which does some conditional formatting on the table cell of a list. The trouble with this is that it executes fine on document ...
0
votes
1answer
172 views

SPServices: Using variable as column name - possible?

When using SPServices, is it possible to use a variable to specify the column to be updated? res = lists.quickUpdateListItem('MyListHere', { ID: ReqD, columnVar : userName }); In the above ...
0
votes
1answer
268 views

Sharepoint people and group field validation

How to validate that users selected in three different people and group fields are different and no two of them are same i.e. each selected user is unique. Jquery check solution works but fails on ...
2
votes
1answer
4k views

jQuery & SP2010 : Upload document to library using jQuery?

I built a custom form that saves the data to multiple lists with on click; it works pretty well for its intended use (keeping the data related). Thing is I am totally new at jQuery and SPServices, but ...
0
votes
2answers
2k views

How to get SPSite aka SPWeb property bags using ClientContext? [duplicate]

Possible Duplicate: Grab a specific property bag using ECMA script I would appreciate if some paste a sample code to get the property bags values using ClientContext?
1
vote
2answers
733 views

Accessing list data from another site collection or web application using REST services?

I have a list (Links template) of URLs that is on a site collection and I was wondering if it is possible to include this list as a jQuery megamenu on another site - ideally another web application on ...
2
votes
1answer
4k views

SPServices: trying to learn how to use this and jquery, help with example

So I am trying to learn these both as I read nuthin but great things all over the place about them. So this is what I have from example on codeplex: <script type="text/javascript" ...
1
vote
1answer
1k views

sharepoint 2010 upload file to document library using jquery

Hi all using jquery i want to upload file to solution gallery. so is that possible to upload file in solution gallery using jquery. how? another thing is it possible to upload file in document ...
0
votes
1answer
923 views

Google charts disappear on refresh/F5 of a browser

I have a Sharpeoint list which gets updated everyday. From that list I made dymanic Bar graph to display the data. Graph is working fine but I am encountring issue on Refresh or F5 of a browser. Once ...
1
vote
1answer
387 views

CAML query and jQuery to retrieve last item's fields

I want to get list item fields where its the last item that the same user created. Then I want to populate the newform.aspx with some of these items. I'm mainly stuck with the query and how to write ...
2
votes
0answers
1k views

Why Sharepoint FormField's ID is parametrized and how it can take different values after its initial creation?

In SPD 2010, on designer surface of a web part page I insert DataFormWebPart by: "Current Data Source" ("Data Sources Details" Task Pane) --> choose rows --> "Insert Selected Fields As.." --> "New ...
0
votes
1answer
663 views

Get Mysite Profile pictures using jquery

Using Sharepoint 2007 Have JQuery and SPServices.js available. I need to be able to gather profile pictures (or just the URL whichever is easier) from a users MySite. It will be a dynamic list of ...
0
votes
2answers
794 views

Targeting Sharepoint form drop down

I have a newform.aspx created through SPD. Its already contains a drop down list. <SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="New" FieldName="Enquiry_x0020_Type" ...
0
votes
1answer
954 views

Prepopulating a value in NewForm.aspx

I am sending a query string into NewForm.aspx. I have populated a drop down with that value. Everything works great in Chrome but Internet Explorer does not save the pre-populated value. The value ...
0
votes
2answers
411 views

client object model and jquery not loading — sort of

I'm getting some data from a list via the client object model. After I get the list data, and the page loads, I want to use a little jquery to add a hover effect. Easy enough, right? Well ...