Tagged Questions

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

learn more… | top users | synonyms

0
votes
1answer
46 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
9 views

Multiple select tag in HTML using jquery autocomplete [on hold]

I have a Sharepoint Form that has 15 comboboxes that are linked to another list with hundreds of values. I used JQuery autocomplete to filter user input to specific values. My question is, how can ...
0
votes
0answers
12 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
0answers
12 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
20 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
19 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 ...
0
votes
0answers
10 views

Insert jquery variable inside php function [on hold]

I need help in this. I want to encrypt password before assigning it to jquery variable then send to php controller via ajax. Unfortunately I cant insert the password (which is jquery variable) into ...
0
votes
0answers
12 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
32 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
77 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
52 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 ...
0
votes
0answers
8 views

cant get this carousel to display images in a DWP webpart - sharepoint 2010

I'm trying to use this carousel plugin in a webpart but images don't show up only in IE all other browsers are fine.No idea why:( link to carousel plugin Has anyone got this issue before. Any tips ...
0
votes
1answer
29 views

getEnumerator causing collection has not been initialized error inside of async call inside of a loop in a script editor web part

This is an issue I've been struggling with - What I am doing is using a script editor web part and when a user clicks the button, I check to see if a list exists inside of a loop (in this example, it ...
0
votes
1answer
18 views

Script Editor - Load Data from multiple lists on button click into table

I've been struggling with this code for over a week and I wanted to see if I could get some feedback on the idea itself of what I am trying to accomplish. What I want to do is inside of a script ...
0
votes
1answer
7 views

change the order of fields in the forms of external lists

I have an external list and forms contain fields which are ordered alphabetically. I would like to customize the order of fields in all the forms. I thought of using jquery, but that is giving me some ...
0
votes
1answer
14 views

Cancel button click event in the new form

I have created an external list and in the new form I have a few input controls. Some of them are required fields but are not indicated as such on page. So I am trying to check if the input is empty ...
0
votes
0answers
17 views

Commented out masterpage code rendering on All site content and site settings

I have commented out the top link bar and am using a jQuery solution instead. This is to get options for dropdown and open in new window in Foundation 2010. While the solution works fine on home and ...
1
vote
1answer
31 views

Get email and name from people picker SharePoint 2013 online

I've tried retrieving data from a multiple people picker field on a SharePoint 2013 form in numerous ways, the best I've done is getting the display name. If it all possible i'd like to retrieve the ...
1
vote
1answer
49 views

Problem with Javascript Object Code and jQuery Promise

I know that I am just mising something, but here is the issue: I have created a helper function: var RADON = window.RADON || {}; RADON.csom = RADON.csom || {}; RADON.csom.GetLookupData = ...
1
vote
1answer
40 views

SharePoint Current Navigation Cursor hover?

I'm trying to get all headers on the left side of the "Current Navigation" and basically disable all of them and turn them into text. I have a jQuery script which already does this, however when I ...
0
votes
2answers
55 views

jQuery get div#contentRow height

I try to show and hide a custom footer on a SharePoint 2013, depending if we reach the bottom of the page or not. To do this, I need to calculate the total height of the div with the id contentRow. ...
1
vote
1answer
34 views

Automatic Bootstrap Tabs in SharePoint

I'm trying to implement this solution to a SharePoint public facing site. The timer seems to be working as I'm getting errors in browser consoles at every interval but nothing is happening: ...
1
vote
1answer
32 views

Run jQuery Web App on SharePoint

I built a web app powered by jQuery and Basic Primitives APIs. The app reads a CSV file and then displays several charts based on this information. I want to know if it is possible to upload it to ...
1
vote
0answers
30 views

Please guide me how to add jquery in Page Viewer web part?

I have added a Page viewer web part on a page. and call other SharePoint web page. I need to remove menu bar etc on this page. I got a below Jquery code from this portal. <script ...
1
vote
0answers
40 views

SP:2010 Hide column based on value display column

SP2010 Have an edit form, with a multiple choice column titled [Required] that is set as display. I'm trying to use jquery to hide certain columns based on the value of Required. Example. If ...
0
votes
1answer
50 views

Cascade drop down lists in SharePoint 2013 using jQuery, REST and AJAX

This is what I have so far: Loading the States in the State lists: var ItemStateDD, ItemCountyDD, ItemIDDD; $(document).ready(function () { //state populate $.ajax({ cache: false, ...
1
vote
1answer
40 views

Collection has not been initialized when called in async function

function populateList(){ var _clientContext; var _web; _clientContext = new SP.ClientContext.get_current(); _web = _clientContext.get_web(); var listTitle = "Data1"; var list = ...
2
votes
1answer
61 views

How to send meeting request to user from sharepoint?

I have a person field in SharePoint form and want to send outlook meeting request to person entered in Person field. **Note:**I want to this through JQuery/JavaScript/SharePoint client object model ...
0
votes
0answers
26 views

Jquery Document Ready function is not firing in User Control - SharePoint Project

Here is my code : <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div ...
0
votes
0answers
8 views

spfdropdown conflicts with calendar webpart

I am setting up a foundation 2010 site and am using spfdropdown (from https://gist.github.com/alirobe/1312059) to mimic dropdown functionality offered in sharepoint server. This solution works great ...
0
votes
3answers
47 views

Hide SuiteBar links Office 365

I have previously used jQuery to hide the Suitebar links in SP 2013. This was on-prem install. When I try in Office 365, it seems to ignore the code. //Neither of these work: ...
1
vote
3answers
49 views

How to Add a tooltip in Radio Buttons when checked in newForm.aspx page

I have custom list with a field type of radio buttons with 4 choices. I want to be able to show a box on right hand side when each radio button is checked .How do i do that? So far i was able to ...
1
vote
1answer
60 views

Load list item to dispaly get_fieldValues?

I'm using SharePoint online and have a SharePoint-hosted app. I have a page with a question form that send data in to Sharepoint using listItem.set_item('GEN_1_blabla', $('#GEN_1').val()); Now in ...
0
votes
1answer
92 views

Sharepoint custom list: Hiding and showing column based on drop down dependancy

I'm trying to add javascript to the dispform.aspx page of my form to hide certain columns/fields based on a dropdown menu. When I add the code to the CEWP it simply adds text above the fields; the ...
2
votes
2answers
137 views

In 2013 using JavaScript how do you empty a people picker field?

In SharePoint 2013, I want to delete all existing values in a people picker field using javascript or jquery. Simply using .removeAttr('value') or .val("") does not work.
1
vote
0answers
27 views

addEventListener compatibility issue in IE

I am trying to using this plugin in sharepoint 2010. http://tympanus.net/codrops/2013/07/30/google-nexus-website-menu/ But in IE 8 and older versions, its give me some 'addEventListener' and ...
4
votes
3answers
94 views

Feature “SharePoint Server Publishing” disables jQuery

I'm currently configuring a SharePoint Online (Office 365) site where I need to use jQuery. A very common scenario where I do as I usually do. So I activate Site Collection Feature SharePoint Server ...
0
votes
0answers
47 views

How do I display Sharepoint 2010 list items within an external (intranet) HTML static web Page

Overview: I'm currently able to display Sharepoint 2010 List items from 3 Lists within an external HTML page on our company intranet. I use a JQuery script that pulls the RSS feed for each list. This ...
3
votes
1answer
56 views

Click anywhere in data view group by for expand/collapse

I'm trying to get the functionality of being able to click anywhere in the group by header element to expand and collapse the group. I have gotten close where I can click anywhere in the element ...
1
vote
1answer
22 views

Animate left navigation

I am trying to do some branding in SharePoint 2010, how can I make the left navigation as http://tympanus.net/Blueprints/SlidePushMenus/ 'Show/Hide Left Slide Menu' The code which I try left ...
0
votes
0answers
55 views

Loop through array and update metadata on files using relative URL only

I've got a script that combines JavaScript, jQuery, and SPServices to build an array of documents, copy each file or subfolder to an alternate location, then update the original file to indicate it's ...
0
votes
2answers
49 views

Add run with run with elevated privileges for spservices?

I am unable to add users to the group using custom button and SPServices,only site administrators can only able to add the users to the group.can any one help me how to add the run with elevated ...
0
votes
2answers
52 views

Add users to the group using SPServices?

I created a button in sharepoint site using content Editor,when the current users click on the button he must have to add to that particular group,can any one give example how to add current users to ...
3
votes
1answer
68 views

Checking CSOM people editor value

How can we check the user entered key in Client people editor is user or group? I have created a people editor in CSOM. I can save the value to the list successfully. But before saving i need to ...
0
votes
0answers
39 views

Using SPServices' GetListItems to sort by what the current user has “liked”

I'm using getlistitems to grab list data in SharePoint 2013, and I've managed to be able to filter by the current user's "liked" list items... but is there a way to sort by what a user has liked and ...
0
votes
4answers
88 views

Two jquery webparts on same page. one not working

I have two web parts that use jquery on the same page. this causes one of them not to work. One of them is an actual web part with a reference to ~SiteCollection/Style ...
0
votes
1answer
19 views

Overide Core.js Options?

What is the best way to be able to manipulate objects in the DOM using JQuery/JavaScript, specifically in an InfoPath browser enabled form in SharePoint 2010? If I try to grab a value from an input ...
0
votes
0answers
33 views

discussion board

i am trying to pull and display the items from dicussion board in a content editor webpart and also a column to show number of posts in the discussion board . Any suggestions on how to approach using ...
1
vote
1answer
95 views

Updating document metadata using Javascript or jQuery

I have a large, complicated script that copies selected documents from Library A to Library B when a user clicks a button. At the end of the script (as a final step), I'm calling the three functions ...
0
votes
0answers
33 views

jQuery .validate - submit don't fire after error

Validation plugin works fine except following scenario: user click submit button while text box is empty, get error message, then fill text box and click button again. This time nothing happens. Any ...