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

learn more… | top users | synonyms

2
votes
1answer
897 views

Error on page when using an iframe in a Content Editor Web Part

I am trying to set up on iframe on a SharePoint 2007 page that will show the most current project report uploaded to a document library. Here is my code, inserted into the page in the source of a ...
2
votes
1answer
637 views

Can I use asp.net web service in Sharepoint project?

I had create .asmx webservice in asp.net projects. my doubts that is this able to use this webservice in sharepoint project? suppose this is my code source: function (request, response) { ...
2
votes
2answers
789 views

Remove alt tags from Calendar

Has anyone been able to successfully remove the alt tags/(hover text) from events in the sharepoint 2010 calendar. I am trying to use Jquery to strip them out, but am having no success. I have even ...
2
votes
4answers
378 views

Why doesn't jQuery execute in a DataViewWebPart with asynchronous load enabled?

The jQuery scripts I have in a DVWP do not get executed when I enable Asychronous Load in the Ajax Options of the DVWP. They do execute when I disable Asychronous Load though. Any thoughts on this? A ...
2
votes
3answers
126 views

Enhanced Rich Text Field removes my default text

Im trying to set default text using jquery on a mentioned field type. I can briefly see my text as I open a new form, but then it disappears. I tried various methods - .text() .html() .append() but i ...
2
votes
2answers
72 views

Image not loading in SharePoint 2013

We are in process of upgrading SP2010 project to SP2013. There is an issue loading an image in a webpart. In the SP2013 master page we have added before head tag:- <link rel="stylesheet" ...
2
votes
1answer
434 views

Using javascript/jquery to modify the display form?

I have a js file which retrieves a value stored in a date field and then calculates the remaining time in weeks/days. My issue is that this works on the edit form because I send the value in with ...
2
votes
2answers
293 views

How to create a form that populates a list in sharepoint?

I need to create an HTML form with two text boxes and a button that you click the update button it inserts the two values ​​in a sharepoint list. Below an example of what I'm trying to do: // ...
2
votes
1answer
240 views

SharePoint 2013 Markup code works inside Placeholdermain but not as code embed in webpart (EmbeddedFormField)?

On SPO 2013 trying to deploy some custom markup code to bind a list Markup code works when placed in Placeholdermain via SPD vs embedding the code Site Page webpart (EmbeddedFormField) I have this ...
2
votes
1answer
212 views

Images library view and jquery

I have image library that is provisioned by publishing feature, I added the view of this library to the page which contains my custom web part with jQuery After this I have an error TypeError: ...
2
votes
1answer
257 views

SharePoint - jQuery - Click a box to increase height and reduce other open boxes

I have a list with several list items. Each of these items have been styled through XSLT and CSS as boxes with content in them. The Content Query Web Part is displaying this information. When I ...
2
votes
1answer
353 views

Does jQuery ship with SharePoint?

Currently, we want to upgrade jQuery in our products, so I want to know if SharePoint use jquery in its js? It will help us to make decision about which jquery version we are going to use. I try to ...
2
votes
1answer
966 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 ...
2
votes
1answer
777 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 ...
2
votes
3answers
508 views

What is the best method to retrieve the value of “Sum = ####” from List View using jQuery?

Here's a little challenge for you SharePoint and jQuery experts. I have an out of the box list view in MOSS where I total one of the columns as a "Sum" so that at the very top of my list I have "Sum = ...
2
votes
3answers
443 views

How to change the href for a hyperlink using jQuery:Error href is null

I'm trying to get to the default home link(href) on my sharepoint site using jquery but i keep getting href is undefined. I would like to change it to another URL I have tried alert($(".static ...
2
votes
1answer
3k views

Parsing SPServices' GetListItems data

I'm using SPServices with jQuery to collect data from a Sharepoint 2010 list for use in a standalone Javascript powered web application. EDIT: I've found a little more out while investigating this - ...
2
votes
2answers
264 views

Deleting Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows

how delete Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows.
2
votes
1answer
179 views

jQuery Script causing errant Page group to not load

In my attempt to present multiple list data, I have ventured into the territory of the DVWP. I have three lists A, B, C. Each of these lists are interrelated. When click the title from List A, I ...
2
votes
1answer
121 views

CORS with SPServices + jQuery

I need to access from a different domaine on a mobile a sharepoint list. Here is my code, a simple get request : $.support.cors = true; $(function() { $().SPServices({ operation: "GetListItems", ...
2
votes
2answers
87 views

JavaScript error while added jquery library to standard teamsite

I have a standard SharePoint 2013 Teamsite template with "seattle" masterpage and added jquery in the head of the seattle.html to solve some branding issues(screen 1). The problem is that I always get ...
2
votes
2answers
84 views

In jquery rest result for person object as a [object Object]

Would it be possible to get a Person or Group type as a string rather than and [object Object], I am handling everything within the front-end with REST calls to listdata.svc URL's. CODE // DISPLAY ...
2
votes
1answer
228 views

Open one page after another in a modal dialog

My client wants me to create a modal dialog that acts like a popup window. Can this be done? Here's the issue: The visitor is editing some basic database data via a form in the original browser ...
2
votes
1answer
37 views

How to store “stream” and “fields” paramters properly

I'm trying to use the GetItem method to use for copying documents, but I'm not having luck with the field or stream parameters. Below is an example of how I attempted to store each of them. When I ...
2
votes
1answer
102 views

How to add class to list view colum in webpart or hide column

This is Sharepoint 2010. I have a list view webpart(calendar) with title and date. I am using Jquery to filter dates shown (workaround for limitations in filtering on reoccurring event). I need to ...
2
votes
3answers
142 views

Need a way to identify files which have no checked in version

I wrote a script that traverses a collection, it's document libraries and gets a list of all files. I'm trying to find all the documents which do not have a checked in version and require a user to go ...
2
votes
1answer
387 views

Run JavaScript after “group by” in list has been clicked on and list data loaded

I have created a JavaScript function to take a url from a list item and turn it into an image. This function works great on a list that doesn't have group by setup. With this script the images will ...
2
votes
1answer
427 views

SharePoint 2013 REST - Possible to Upload accross Site collections with embeded code or NAPA? SP.AppContextSite 403

Has anybody been able to REST Upload cross site/domain of a file to a document Library with REST on SPO 2013 thru embedded page code or NAPA? Wondering how app security is set on the TargetSite? I ...
2
votes
2answers
333 views

Nested REST or CAML code to list “NOT-IN” List Join Logic. Possible?

I'm thinking this is possible in SPO 2013? Two Custom Lists. Submitted and Universe (common field employee number) One qualifier condition that applies to both .. dept = Sales I need to list ...
2
votes
1answer
176 views

Sharepoint 2010 javascript client object model - downloading items and item attachments?

Is there a way, so that you can download the items from a list and all its item attachment files in one context call? Currently I am downloading all the items, then looping through each item, and ...
2
votes
2answers
904 views

How to modify the sharepoint 2010 NewItem2 function?

In sharepoint 2010, I want to add javascript to the alerts popup window page, but I don't want to modify the actual layouts file. I want to dynamically insert javascript in it. Basically the button to ...
2
votes
1answer
505 views

Hide fields on NewForm.aspx and EditForm.aspx based on the current user's membership in a SharePoint Group

I have found a number of recommended ways in blogs looking to answer how to do this and have not successfully made any of them work using SharePoint MOSS 2007 and SharePoint Designer 2007. I have ...
2
votes
1answer
218 views

Jquery adds Multiple attribute IDs to Content Editor web part source

I’m currently performing a migration of our CMS from MCMS 2002 to SharePoint 2010. One of the MCMS templates allowed the users to add their own CSS and scripts. So that the scripts and styles are not ...
2
votes
1answer
679 views

ECMA/js CSOM retrieving items from multiple lists with async processing? how?

I am struggling with javascript and learning callbacks, and applying this to SharePoint 2010 specific js/jquery methods of getting and savings values from lists. So I am recently getting into the ...
2
votes
1answer
175 views

How to create custom email notifications (folder specific) in a document library?

I have a SharePoint 2007 site which has a document library with several folders. My requirement is that whenever an item is uploaded to a folder, SharePoint should automatically generate an email ...
2
votes
2answers
3k views

jQuery - How would you display / hide content with a radio button based on a date?

I current have a list of items being pulled through in a Content Query Web Part. Onload, I would like to display the items from today onwards, and for this to be a radio button selected onload. The ...
2
votes
1answer
305 views

How to use aop.js with jQuery on Grouped Lists?

This question came from following up on an answer given here. I want to use jQuery to work css modifications on a list that has grouping. I discovered a jQuery script called aop.js that will allow ...
2
votes
3answers
974 views

sharepoint 2013 / bootstrap.js / only working in edit mode

I am trying to get the twitter bootstrap framework running on our sharepoint 2013 intranet page. When I'm editing the page, the code is working as expected. After saving the web part page, the ...
2
votes
1answer
453 views

jQuery Cookie path/subdirectory issue

I hope someone might be able to help me out. I have an jQuery animated quicklaunch in which I "remember" the open/closed states through use of jQuery cookies. This works well, with the exception of ...
2
votes
1answer
968 views

Is there any rule that says when SOAPAction is REQUIRED in the setRequestHeader?

Is there any rule that says when SOAPAction is REQUIRED in the setRequestHeader? In my jQuery library (SPServices), I've been including the SOAPAction for every Web Service call. It turns out that ...
2
votes
1answer
65 views

Adding a “next” Button to displayform.aspx

Is there a way of adding a button in the Dispform.aspx or the editform.aspx that will take you to the next item in the list?
2
votes
2answers
149 views

Format part of the column value in a ListView Web Part

I have a list containing a few items, some of which are marked as compliant. So I have a column for marking it as compliant, and another calculated column, where I have the calculated value as Title ...
2
votes
0answers
64 views

Check whether user belongs to sharepoint group, which consists of distribution list as members

I have a distribution list, which is added to a SharePoint group. I need to determine whether the logged in user(Who is part of the distribution list) is part of the SharePoint group. this needs to be ...
2
votes
1answer
172 views

REST listdata.svc call to another site in collection doesn't return people picker values

I have two sites on the same collection. There is a people picker field on my list in site2. I am in Sharepoint 2010. mysharepointsite/site1 mysharepointsite/site2 I am using the Sharepoint REST API ...
2
votes
0answers
178 views

SharePoint InputFormTextBox returns javascript error while changing its position

I have created one aspx page for implementing the edit comments of the form. For this I am using the SharePoint InputFormTextBox control. I have a total of 4 Divs each containing one InputFormTextBox, ...
2
votes
0answers
659 views

Filtering SharePoint list items that have multiple values using jQuery

I have a SharePoint list that contains multiple columns of information. There’s a Category column that’s a look up to another list called ‘Category’. This is to produce unique ID’s for each of those ...
2
votes
1answer
383 views

FormField value set with javascript, value lost on postback

I have a custom list of "requests" which need to accommodate a required time range for a single date (among other fields), so I added "start" and "end" columns of date and time type. I used designer ...
2
votes
1answer
1k views

Calling Upload Dialog with javascript, can I pass value through to the edit form that follows?

I have a button that opens the upload dialog from a page using the below approach: function openUploadNewDocumentDialog(passingID) { var dialogOptions = SP.UI.$create_DialogOptions(); ...
2
votes
1answer
190 views

Open MultiUpload modal form

Could you please tell me how to open a MultiUpload modal form, without using or displaying the single upload form? <script language="javascript" type="text/javascript"> $(function () { ...
2
votes
2answers
1k views

Custom Content Query Web Part in a Sandbox Solution

I am looking to create an "image slider" web part for my SharePoint 2010 site home page to display a nice glossy roll-up of our recent news articles. There are literally hundreds of jQuery plugins ...