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

learn more… | top users | synonyms

2
votes
2answers
201 views

Changes in SharePoint Online (Office 365)

I have an idea to solve a problem by adding jQuery/javascript to a aspx page (in this case the DispForm.aspx) But I thought I've heard that SharePoint Online installs automatically updates. Can this ...
1
vote
1answer
599 views

Upload.aspx auto check/uncheck option to overwrite files from client side js/jquery

So if I reference the upload.aspx with guid, show that dialog from a link or something from a page, is there anyway I can get to the elements of that form? I only have javascript/jquery and designer ...
0
votes
1answer
250 views

XSLT/Webpart View in Custom Javascript text file?

So this may be silly but I want to ask anyway, if I am using the text file approach (markup and javascript within text files that a CEWP references), is it possible to add mark up or script that would ...
1
vote
2answers
2k views

Retrieving a lookup Value from a List using jquery and REST

I would like to get the lookup Value from a List item depending on it's Title. My List is set up similar to the following example: ColumnA : a | b | c lookupB : 1 | 1 | 2 The jquery: function ...
0
votes
1answer
182 views

Switching between two dataview webparts (No post back)

I have 2 DVWPs and would like to use a tab or link to switch between them without postbacks. I was thinking of using jQuery. One DVWP would have around 100 rows the other 400 rows. Any suggestions ...
0
votes
3answers
3k views

Populate a text box based on drop down value from a sharepoint List

I have a List B that has a look up column "State" to a column "State" in List A .List A has corresponding column "City" to each state(unique combination) . While adding new item in List B , State is a ...
1
vote
1answer
368 views

How do I change the href destination of a link in a list using jquery?

I have been trying to edit links within lists to change their overall functionality, but have had no luck with changing any property of the links' functions. The properties I have tried to change ...
2
votes
2answers
933 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
565 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
515 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
104 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
4k 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
3k 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
2k 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
3k 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
519 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
1k 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
769 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
436 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
6k 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
656 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
794 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
910 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
1k 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
7
votes
2answers
3k 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
285 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
1k 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
249 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
239 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
585 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
178 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
270 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
872 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
660 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
410 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
260 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
909 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
3k 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
263 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
443 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
358 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
972 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
558 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 ...