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

learn more… | top users | synonyms

2
votes
2answers
851 views

Can't get a basic Modal to work on 2010

I'm migrating a project from SP2007 to SP2010. I want to get a modal popup to work, to open up the New Item window of a list from an aspx page. I can't get the modal to work in the most basic example, ...
1
vote
2answers
441 views

How do I create dynamic infographics in SharePoint?

I'm looking to add a dynamic infographic with the ability to update it using a SharePoint data library or list. Has anyone accomplished this (that is easy or quickly updatable). For example, I want ...
0
votes
4answers
471 views

jquery 1.7.2 and spservices 0.7.0 syntax unrecognized error with .find(“[nodeName=z:row]” and .find(“[z:\\row,row]”

both .find("[nodeName=z:row]" and .find("[z:\\row,row]" give me syntax unrecognized on SharePoint 2007 IE 8 client trying this code that redirects me to the dispform given a match on title list ...
-3
votes
1answer
101 views

What JQuery effect is this? [closed]

I found this really nice effect on this website: http://www.engadget.com/ Please take a look at the IE advertisements on the top and the right side of the page. It seems like some kind of elastic ...
1
vote
1answer
3k views

jQuery to modify SharePoint 2010 Column Width

SharePoint 2010 - I have a Standard Task list in Gantt View that represents a list of projects (Sync from Project 2010). Since the column widths are not-persistent in SharePoint, I wrote a script to ...
2
votes
2answers
2k views

Left navigation bar customization based on user permissions

Hi I have to change my left navigation based on specific user permission. is that possible without change in masterpage . I know jquery is one solution but any other way through we change left ...
0
votes
1answer
1k views

SPServices: How would I add Ascending=False to CAML in GetListItems

How would I use SPServices GetListItems and still be able to add Ascending=False to the CAMLViewFields? I haven't used this for long and I am just wondering if this is possible? Thanks as always!
1
vote
3answers
2k views

jquery and javascript : can i get the last ID from document library?

Is there a way to get the last ID from a Document Library with javascript/jquery?
1
vote
1answer
454 views

Set data to Sharepoint Gridview from List and remove appropriate selected columns

I am using c# and I have a SPList with fields such Title and Translation. I want to set Word and Translation into SPGridview. I can retrieve data from my List: string translation = ...
0
votes
2answers
934 views

Batch update with javascript client object model?

Anybody know how to do batch list updates with the javascript client object model in Sharepoint 2010? I'm putting the list into an array right now and then a kendo grid is reading it. I can update ...
0
votes
1answer
687 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
3k 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
388 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
5k 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
596 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
681 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
741 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
944 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
248 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
959 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
241 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
1k 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
213 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
539 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
172 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
1k 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
3k 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
253 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
774 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
567 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
346 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
250 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
802 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
215 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
409 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
1k 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
295 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
757 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
510 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
444 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
2k 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
229 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
176 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
296 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?