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

learn more… | top users | synonyms

0
votes
0answers
6 views

Running total of choice data from several lists

I'm using SP 2010. I have a few lists that have many of the same set of Choice columns. I want to be able to output a running total of how many there are of each choice from all lists. Maybe in a ...
0
votes
0answers
10 views

Slideshow web part with clickable pictures

I am looking for building a web part for slideshow with pictures being clickable. As of now I used picture library slideshow web part and it has ability to click on pictures and opens the picture on ...
0
votes
0answers
4 views

SharePoint 2013 List Box view customize web part display

I am referencing a list in a web part on a SharePoint page. In that web part I am using the "Boxed" view. However, I would like to customize the way that box looks a bit. Some examples would be to ...
2
votes
3answers
37 views

How to force PDF to get downloaded

I have developed a Windows 8.1 App using HTML5 and Javascript which is accessing the List, Libraries and Files from my Sharepoint site. Everthing is working fine except one issue i.e. The PDF files ...
1
vote
0answers
21 views

Problems with SharePoint DelegateControl

We have created a Delegated control for People Picker. Implementation Details: We have a ascx control which is using jquery Select2 plugin. This control is calling some webservice to get details. ...
0
votes
1answer
24 views

Jquery mobile rendering issue in webpart page

I have below HTML inside html file which is referred in webpart page CEWP. Though this works fine as independant html page, while rendering in sharepoint , it is somehow showing up data-ico attribute ...
0
votes
0answers
19 views

Change the language of the form data upon on selection of choice field

I have a list with a choice column that shows two values English and Spanish if Spanish is selected then the content below the form say "Hi this form is customized" should be translated Spanish ...
0
votes
1answer
23 views

How to apply a Date Filter on a list with JS

I have a Date Filter webpart connected to a List on page. I am setting the default value of the list with JQuery (it sets that value to the next Wednesday). Here's a jfiddle showing how we are ...
0
votes
1answer
30 views

SP 2007 - Make picture library thumbnail unclickable

SP 2007 / Moss: I have a picture library where I want to show the thumbnail in the list view but make it unclickable. Right now when I click on it, it goes to the display form. When I go into the ...
1
vote
1answer
26 views

Rest api add to select append sharepoint list is undefined

If alert view then OK, but is add code select append, not working - undefined Here is code: function getListItemById(webUrl,listName, itemId, success, failure) { var url = webUrl + ...
1
vote
2answers
67 views

jQuery - Hide empty field in a list

I have the code that hides empty fields in a list and it works great, the problem is it also hides the edit field and icon which I would like to keep, what would I need to change in the code to stop ...
1
vote
0answers
21 views

Change image name before uploading it to SharePoint library using Javascript or Jquery(Not Drop Zone control)

I would like to change the name of the image before uploading it to SharePoint document library. Below is the code i have written when an image is uploaded using HTML upload control. When the image is ...
1
vote
0answers
22 views

SPServices - open “view item” modal

NOTE: I'm begginer in SharePoint! Ok so my situation is like that: I have a list of Users, with multiple fields. For example there are fields like: Name, Title, Office, Phone and Email. Pretty ...
1
vote
0answers
11 views

How can i add css reference to app parts which is rendered in iframe from the master page

I have been trying to apply the CSS to Office365 App parts, the reference of the CSS is included in the header section of master page(which must not be tenant specific). I tried several codes. One of ...
0
votes
1answer
12 views

Building a To-Do List with jQuery and Local Storage

Hi i am working on a project to do task list where every thing work fine but i am not able to store data in list in following link data is store in var data = ...
0
votes
0answers
16 views

Easy Tabs in SharePoint 2010 & preservation of easy tabs for SharePoint 2013

I am looking into ways to implement easy tabs for the display of a master glossary for my team. I have a code but I am not sure where to put it either in the content editor web part or in the general ...
0
votes
1answer
24 views

Disable text box for few seconds after success message

I'm trying to disable a textbox/and button for few seconds after the "Send button" has been clicked and then enable it again as well empty the textbox. But it doesn't work out. I have an onSuccess() ...
1
vote
0answers
15 views

Using html2Canvas API to generate images of custom aspx pages

So I have an html table I'd like to convert to an image and I found a pretty neat API to do exactly this. It's called html2canvas. I have been able to use it pretty easily using HTML pages in my ...
1
vote
1answer
13 views

Inconsistency in printing SharePoint list items using jQuery REST

I am retrieving data from my SharePoint site and printing it to a html table. The problem is that at times, when I print the data I fetched, my code fails to print all the data I expected. I have ...
1
vote
0answers
47 views

Formatted count by topic

I have been searching for days and I have been unable to figure out if my wish is possible. I have a large list that contains an inventory of active items being utilized, with each item having an ...
2
votes
0answers
32 views

Async wait till variable is set in the display template

I have a problem with excuting the script in the right order. I have a custom.js which is loaded at the top of the masterpage. The following function is included: var results; var followers; ...
1
vote
2answers
40 views

Populate a choice field when another choice field changes

I have two choice fields. When choice field A is equal to Commercial then choice field B should change to Staged. I've found this hide function and was trying to change it to fit my needs but I'm ...
0
votes
0answers
24 views

Hide Droplist with Jquery

I am working with Sharepoint 2010, i am trying to hide different fields according to role of the current user. My code only works with normal text fields, but it doesn't work with drop list, so i ...
1
vote
0answers
13 views

Create custom list in sharepoint with a list template using JQuery [duplicate]

I need to create a custom list in Sharepoint 2007 using JQuery (only!) using a custom list template. I'm using Sharepoint 2007. Is there any way to do it? I already know to create the list and update ...
0
votes
2answers
61 views

Is mQuery stable to use instead of using jquery in Sharepoint 2013 and higher?

In my SP2013 environment, I use jquery, but had the issue of the $ clashing with Sharepoint's own $. The original thread was here Does Sharepoint 2013 really have a jquery conflict with $? In there, ...
2
votes
2answers
170 views

Does Sharepoint 2013 really have a jquery conflict with $?

I have been working on SharePoint 2013 recently, and noticed that under variation sites, SharePoint 2013 has a java script file that defines a global variable called $ which overwrites the jquery $ ...
0
votes
0answers
24 views

SP services to filter list form web part

I have a project requirement where I need to filter the column value based on current logged in user. This needs to be done in Designer using either Javascript/Jquery or SP Services. NOTE: The ...
1
vote
0answers
42 views

Smooth scrolling with anchors on Sharepoint site

I have a SharePoint 2013 site which I am trying to include smooth scrolling using jQuery. There is a menu which becomes sticky after scrolling past, and each menu item should highlight as it goes ...
0
votes
1answer
60 views

Hide fields until a value in a radio button is selected

My requirement is that i have a radio button on a New Item form with the values of Yes/No. If No is selected, i need to be able to have 10 fields appear (single line of text) so that the end user can ...
3
votes
1answer
41 views

How to change webpart title background for only 1 webpart?

I have three webparts and each of these have titles. I want to change the background of a single title. I have the following webparts: I want to change title background for only this Title called ...
1
vote
1answer
41 views

Create custom list in SPServices

Is there a way to create a new custom list with SPServices? There are ways to create new list items, but I couldn't find a way to create a list.
3
votes
1answer
51 views

Create custom list in sharepoint 2007 using JQuery

I need to create a custom list in Sharepoint 2007 using JQuery (only!). I'm using Sharepoint 2007. Is there any way to do it?
3
votes
2answers
57 views

How to consume SP REST using only JavaScript\CSS\HTML5 (from CRM, outside Sharepoint, same AD)

How do I do to consume a REST DataSet using only something like JQuery? For example, if I have the items in a list\library and retrieve them as follows: ...
1
vote
0answers
19 views

How to make a page automatically redirect if a field item called “arch” is yes or checked?

Edit: Apologies that was a bit broad. The list item is named "Redacted" It is a checkbox ( true or false ). If it is toggled to be true then when the page is loaded or was clicked on the user is ...
0
votes
2answers
21 views

Setting colors to list items of a column in Moss 2007

My req: I have a column called status and I want to set the colors to the columns values based and not the entire row. So if status is 'approved' then set the approved value to color green..etc. I ...
0
votes
0answers
32 views

Access Sharepoint 2013 List from outside SP

Good morning, I wanted to be able to access items in a Sharepoint List from a stand-alone web page hosted on a different server. I've read through references to the REST API and I can see that I can ...
3
votes
1answer
48 views

Short Javascript script to detect if an item value with yes then redirect sharepoint page?

Is there a way to place a small JQuery/Javascript code to detect if an item list value is equal to yes and if so redirect the page using Content Editor Webpart? If "Status=no" Then <meta ...
3
votes
0answers
26 views

Sharepoint 2010 Advanced Search

This is the question related to the Advanced Search. The second Test Box value "The Exact Phrase is getting cleared", once I search the required Word Documents (like Alerts, and Result Type = Word ...
1
vote
1answer
21 views

How can I run SPService or RestService with contribute access?

Is there a way to run REST service or SPService in JQuery with Admin. privilege same like RunWithElevatedPrivilege. In DispForm.aspx there is a button. I want to add logged user who has read access ...
4
votes
1answer
80 views

REST API compare current user if exist in a custom list

I have a custom list with 37 user fields, I need to check if the current user is in one of those fields to display an alert. I'm getting the current user with this url: /_api/web/currentUser And ...
1
vote
1answer
69 views

executeQueryAsync don't behave as synchronously

I am creating different forms where I need same functions, so I created separate js file which I call on my each forms. In below code if alert currentUser from success method then I get the value but ...
4
votes
2answers
82 views

How to change WebPart appearance Title (WP Properties) using JSLink?

Is it possible to change the Title of the List View WebPart (Title property under Appearance) using JSLink i.e using overrideCtx properties? At present, I am modifying the Title using ...
1
vote
2answers
55 views

Disable Term Store Input Fields

I would like to disable input fields for managed metadata from the term store in a new item or edit item form on a custom list. How could I do this with javascript and jquery? Should work in Chrome ...
1
vote
0answers
19 views

SharePoint2013 Creating a visual Alert on the Tab of an updated RSS Feed when Multiple Web Parts are Tabbed

On my SP Page, I have 10 RSS feeds organized in Tabs via Javascript. When an RSS Feed is updated, I'd like to have some sort of visual alert for the user on the tab belonging to the RSS feed that has ...
2
votes
2answers
47 views

SharePoint 2013 - ScrollTop not working properly on second click

This is the weirdest thing. I have the following javascript code, which causes my page to scroll to a specific location on click... $('.whyattend').on('click', function (e) { e.preventDefault(); ...
-1
votes
1answer
28 views

Redirecting a Form to it's Original Position in Sharepoint Library [duplicate]

I have a Sharepoint Library which has Thousands of Forms. If i submit a form the pointer should point out that particular form which i have closed.
3
votes
2answers
258 views

SharePoint Online REST API - Get List selecting all fields excluding one

The below will get a list containing all fields $.ajax({ url: "http://<site url>/_api/web/lists/GetByTitle('ListTitle')/items?$select=*" ,type: "GET", dataType: "json", headers: ...
0
votes
1answer
51 views

SharePont 2013 Lightbox for Picture Library

Anyone who can help implement the lightbox plugin to a sharepoint picture library. Thanks in advance.
2
votes
3answers
93 views

Problem on loading JQuery mock up script on workflow form CstWrkflIP.aspx

I am trying to mock up the Workflow form (the URL is ~siteCollection/_layouts/15/CstWrkflIP.aspx?List={xxx}) with JQuery. I have included the script file within Master Page so that whenever the URL ...
0
votes
2answers
42 views

Set LookUp Value using Jquery in Default List Forms

I am trying to set Look Up Drop down using JavaScript/Jquery. I am able to set the value but while saving by default 1st option in drop down is Set. Thanks in Advance...!!!