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

learn more… | top users | synonyms

0
votes
1answer
16 views

How to filter for files using rest api ( sharepoint online )?

Why doesn't the following string returns data from within a folder in the same asset library: Asset Library Name is Production_Library Folder Name is at the top level of the asset library and is ...
0
votes
0answers
18 views

Access denied while calling external URL ajax call

I got the access denied error when i am calling external URL from Ajax call. it is working fine without SharePoint 2010. <script> function httpGet(theUrl) { debugger; var ...
0
votes
1answer
19 views

Populate SharePoint textfield value into dialog dropdown

Today i ran into this issue, simply described: I have a SharePoint custom list where I have added a custom button in the it's ribbon, this button pops up a custom ASPX modal dialog, this dialog only ...
0
votes
0answers
10 views

How can I fill value into Search Center default.aspx textbox?

I am using SharePoint 2013 on-premise. By some reason, I need to pass the querystring value into the search center default.aspx. On the page there is only 1 textbox. I can capture the querystring ...
0
votes
0answers
9 views

zoom out Grantt chart SharePoint 2013 through Javascript

I would like to zoom out SharePoint 2013 Grantt Chart so that it only shows month in scale. I have seen few examples which shows the same thing but none of them is working for me. ...
1
vote
1answer
41 views

js link group count list SharePoint 2013

(function () { var itemCtx = {}; itemCtx.Templates = {}; itemCtx.Templates.Group = GroupOverride; SPClientTemplates.TemplateManager.RegisterTemplateOverrides(itemCtx); })(); function ...
0
votes
1answer
19 views

Change in jQuery code from SharePoint 2010 to SharePoint 2013

I'm migrating a SharePoint 2010 VS project to SharePoint 2013. The project has custom list definitions and custom add, edit and view forms and uses jQuery 1.8.3. In 2010 the following code works fine: ...
0
votes
1answer
11 views

SP2013: Adding commas to text fields

There's a lot of threads about getting rid of commas, but I want more commas. On the NewItem and EditItem screens, I have some number and currency textboxes. My users are entering values in the ...
0
votes
1answer
33 views

sharepoint resize verticle scroll

I am going to add a custom div in b/w ribbon and workspace div. I find the scrolling bug HTML <!-- ribbon --> <div class="s4-pr s4-ribbonrowhidetitle" id="s4-ribbonrow" style="height: ...
0
votes
1answer
42 views

Filtering list view based on querystring using jQuery?

Using Sharepoint 2010 Content Editor Web Parts (some links dynamically created) List View Web Part Ability to add additional software or packages to the system extremely limited (so would prefer ...
1
vote
1answer
15 views

JQuery link in Shareboot masterpage

I am building and testing a local sharepoint site using Shareboot but can't get my link to JQuery in the Shareboot master page working. When I add it I'm only getting a blank page returned. I take ...
0
votes
0answers
23 views

Disable DataSheet view only on one specific ListView

I have setup a specific ListView with all the columns I need. I need to disable the Datasheet view on this ListView (called SubmittersList) then I need to have Datasheet view enabled on my other ...
0
votes
1answer
36 views

Cascaded drop down not working in IE alone

I have created a 3 level cascading drop down in SP2010 list. The cascading drop down is working perfectly in Firefox and Mozilla but in IE,the drop down values from level 2 are not displayed. Can ...
1
vote
0answers
31 views

Calendar - Only display available resources

I have a resource calendar. Is there a way to limit the resources based on the date user picks when they want to reserve a resource. For example, user clicks on 1-26-2015 date and conf room 3, 4, and ...
0
votes
2answers
80 views

Disappearing UI jquery

UI accordion, mega-menu and slider banner all disappear for all users with the exception of Site Collection Admins until fully authenticated....is it a user issue or branding? Code below: ...
0
votes
1answer
45 views

Jquery on sharepoint Dropdown Fields

I have 10 Dropdowns in a sharepoint list. When the user Clicks on Add New Item in Newform.aspx Currently it will show only First Dropdown i.e (Drop1) With Empty Value. When the user Selects any Value ...
0
votes
1answer
49 views

jQuery to Reset sharepoint Dropdown value to empty in

Can you please let me know how to reset Dropdown value to empty using jQuery. I tried using like this on Dropdown doen changed event but it is not working. Can you please help me. Below is the code i ...
0
votes
2answers
62 views

Sharepoint 2013 list Dropdown change event is not working using Jquery in NewForm.aspx

I have 10 Dropdowns in SharePoint list. Initially I want to show only one Drop down in the newform.aspx. Once the user selects a value in the dropdown i want to show another dropdown. I was able to ...
0
votes
2answers
37 views

Edit masterpage, need to add jQuery - how to ensure it does not duplicate?

SharePoint 2010 Server. I edited section of my masterpage like this(in sharepoint designer, not programmatically): <script type="text/javascript" ...
0
votes
0answers
24 views

REST get all roleassignments for particular user

I would like to get an overview which would show me what can particular user see in our Sharepoint Site - in other words what are all his role assignments - in groups and also lists and in other ...
-1
votes
1answer
38 views

add a custom web part programmatically in web part page using Jquery

Hi We have 90 document libraries 90 different districts. Client wants, each district user should only see their own document library. I am getting district name from user profile (AD). I am ...
1
vote
2answers
69 views

jQuery Code Only Works When Alerts are Active

I posted this to Stack Exchange as well, and I was wondering if some of my fellow SharePoint developers could help me out. This is not a SharePoint direct question, but I am building a site ...
0
votes
0answers
29 views

SPServices.SPCascadeDropdowns not working

Who knows as to connect it to the HTML form??? not to NewForm.aspx and to HTML form? type="text/javascript"> $(document).ready(function() { $("#State").SPServices.SPCascadeDropdowns({ ...
-2
votes
1answer
56 views

JQuery sharepoint lookup value neighbouring column

2 columns in the Title and Another list are everything hi, it is necessary in case of a value choice from the Ttile field, in other field to add value from the Another column i.e. that it turned out ...
0
votes
1answer
17 views

Get and Alert All z:row Elements

I am using SPServices to get the list items I want returned to me from a specific list. I know how to find a particular element using this the GetListItems function without a problem. Is there a way ...
0
votes
0answers
36 views

OnPostRender on a hover display template

I have this code which works on a normal display template, so runs after the display template has been rendered but when I add it to a hover, it does it before the template has been rendered. Is there ...
0
votes
1answer
40 views

How to get the value of the PeopleEditor in SharePoint 2013

I need to get the value of the PeopleEditor using JavaScript and jQuery. following this article : ...
0
votes
3answers
39 views

Remove Search this site in sharepoint 2013 using jquery

i have written the below jquery to remove the text “search this site”. it is working fine . but on mouse over it is still showing the old text i.e ” search this site”. Also when I now try to insert a ...
0
votes
2answers
45 views

How to filter by document name using javascript and Json

I have two document libraries: bucket and Documents. The user uploads the file to the bucket and when all the field are filled, an event receiver checks if the filename already exists (and renames it) ...
1
vote
3answers
84 views

Remember filter value using jquery and cookies

I am looking for a solution for the following problem: I have a large list that is related to a second list. The two list web parts are on one page, when you select an item in the first list, the ...
0
votes
1answer
51 views

Creating valuepair arrays SPServices

I have the information below working, however if I have more than 3 value pairs it can be a long string. How do I turn the value pairs into an array? I tried to use this example but I'm not clear on ...
3
votes
1answer
47 views

Bootstrap in HTML Web Part

I got HTML/CSS from our Designer to implement on a Sharepoint 2010 page. This page is using bootstrap. I implemented it with HTML Web Part and also tried to split the web page layout and work ...
0
votes
1answer
54 views

SPServices UpdateListItems not working

I created a list called testlist then I created a html within the same site with the following layout <table> <tr> <td><strong>List Item to be added</strong></td> ...
1
vote
2answers
23 views

SPServices SPDisplayRelatedInfo css

I have modified my newform.aspx to have the $().SPServices.SPDisplayRelatedInfo details of related information is also a lookup, when I choose the columName from the dropdown, it has a hyperlink. ...
0
votes
2answers
27 views

Ajax Odata 400 bad request

I get a 400 Bad Request from this code, hard to debug, what can the problem be? function saveSelectedAnswer(radioValue) { var requestUri = _spPageContextInfo.webAbsoluteUrl + ...
0
votes
2answers
134 views

SP2013 Trigger People Picker Validation

This question is related to an earlier question I posted, but did not get an answer on, so I am attempting a different approach. To summarize: My goal is to set a people picker value to the current ...
1
vote
1answer
53 views

Finding the Contents of a Rich Text Column with jQuery

I'm basically trying to do this: LINK, now, I've used Marc's methods before and SPServices etc, so it must be something ruddy stupid on my part, because everything else from him has worked without ...
0
votes
0answers
34 views

Uncaught ReferenceError: $ is not defined Page.aspx

I want to READ list data from with the help of RESTAPI in SharePoint. I use below code to do the operation. <script src="http://code.jquery.com/jquery-1.11.0.min.js"></script> <script ...
0
votes
0answers
43 views

Foundation 2010: add additional menu levels using spf-dropdown.js

This spf-dropdown.js script works fine adding a sub level drop down feature to the top link bar, but I need to add another level. Any menu item with "-- " in front of it gets inserted into a new ul ...
0
votes
1answer
47 views

How to store the hit count of a page in a sharepoint list.

I have created a page and now I want to get the track of hit count of that page. I want to store that no. in a sharepoint list. On every page load the count should get increased by 1 and get stored ...
0
votes
2answers
123 views

Loading image freezing with Javascript Object Model and jQuery Promises

I have some code using the javascript object model to get items for several dropdown boxes on a form. I also heard that using Promises was the way to go for speeding up things and created 2 wrapper ...
0
votes
2answers
128 views

jQuery selector won't work SP2013

Ok I've already opened a subject like this, but this time I have no hairs left so I'm gonna summarize my knowledge on this issue, clearly, and hope that someone could help me. Goal I try to hide a ...
0
votes
0answers
61 views

Help Updating Image Url of recently modified Sharepoint List items

I'm working on a project for my group where we want to display a different stage progress image whenever the current status field of a list item (Req Status) is changed in the Edit Properties window. ...
0
votes
1answer
38 views

How to set Everything as default for search scope

is there way to set Everything as default Search Scope to Search Box via jQuery. So when someone just enter text and hit search it will search in SearchCenter and not in osssearchresults.aspx. And ...
0
votes
0answers
38 views

How to get Sugested People, Documents and Sites to follow in Sharepoint online using REST

I know we can use http://<siteCollection>/<site>/_api/sp.userprofiles.peoplemanager/getmysuggestions API but I am unable to get the Data
0
votes
1answer
103 views

DateTime issues with DateTimePicker and SP 2010 Regional settings

So I am currently building an SP custom form which uses the jQuery ui datetimepicker (extension of jQuery ui) which allows me to select dates and times in one control. Once this is done and the form ...
1
vote
0answers
30 views

Hide empty columns in PerformancePoint Scorecard dynamically

I have a scorecard with several empty columns which I want to hide dynamically. In the illustration above, I want to hide three empty columns, viz. MidYear Income, MidYear % and MidYear Status. ...
0
votes
2answers
85 views

how to get people picker text using javascript

I want to compare text of 2 people picker which are on same form.how to do it using JavaScript or Jquery. I have already gone through so many blogs but they are not providing the exact solution that i ...
1
vote
3answers
381 views

Pulling user/group field data from SharePoint list using REST, jQuery, Knockout.js Sharepoint 2013

I'm trying to make an interactive task board based on the task list app in SharePoint 2013. The task lisk includes fields like "Title","Description","Status","% Complete","Due Date","Assigned To", ...
3
votes
2answers
134 views

How to get deferred object for sharepoint rest queries

I want to create one common jquery library to work with REST queries in sharepoint. I have two files. REST_Operations.js consumer.js In REST_Operations.js I am writing rest queries ...