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

learn more… | top users | synonyms

2
votes
1answer
477 views

How can I create Ctrl-F Functionality from a search field?

I have a long page on SharePoint 2010 that needs to be searchable for keywords on that page. Apparently the target group is "unable/unwilling" to learn Ctrl-F so I was asked to create a permanent ...
3
votes
2answers
806 views

How to get ClientPeoplePicker value using javascript

can anyone please tell me, How to get ClientPeoplePicker value using javascript.?
3
votes
2answers
3k views

Disable a form text field with jquery in CEWP not working in Chrome/Firefox

I want to simply disable a text field (specifically a "person/group" field text box) from being editable on the edit form page of my list item. I have it working in IE using a Content Editor Web Part ...
1
vote
3answers
181 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", ...
0
votes
0answers
12 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
95 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
23 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
13 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
22 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 ...
1
vote
1answer
75 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 = ...
0
votes
0answers
18 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
51 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
67 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
50 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
64 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 = ...
1
vote
1answer
33 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
38 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
50 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 ...
1
vote
1answer
867 views

Loading My Sites within iFrame - Hide SuiteBar div

I am loading MySites in an iFrame within another Site Collection. This works with a PageViewer webpart but I would like to hide the new Suitebar since there is already one on the parent page. Any ...
0
votes
1answer
102 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, ...
2
votes
1answer
105 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
3answers
82 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
59 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 ...
0
votes
0answers
54 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 ...
1
vote
1answer
90 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
0answers
9 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
1answer
236 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 ...
1
vote
3answers
384 views

Jquery to display the list items in a content editor webpart

Hi Am using sharepoint 2010 and am trying to find ways to display the list items in a content editor webpart using jquery . I want to display them i a html table. Let me know any kind of suggestions ...
5
votes
3answers
123 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 ...
4
votes
2answers
191 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
1answer
123 views

Do check out in a document with jquery

I'm using SharePoint 2013. I need do check out in a library document using JQuery. Someone help me?
1
vote
0answers
29 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 ...
0
votes
1answer
996 views

SPO - /_vti_bin/lists.asmx returns Error 500

I am currently developing a news scroller/ticker in SharePoint Online (Office 365) and am using the follow script to access a list: var emptyResults = "<li>No current ...
0
votes
4answers
127 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 ...
3
votes
1answer
72 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 ...
0
votes
0answers
60 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 ...
1
vote
1answer
25 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
59 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
1answer
28 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 ...
1
vote
2answers
109 views

Display loading/processing while processing using CSOM

My current implementation includes following, User adds an item, once saved it is redirected to the display form of the same item. I have implemented this requirement using below steps. On ...
0
votes
2answers
82 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
94 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
94 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
42 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
0answers
36 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
138 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
47 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 ...
2
votes
1answer
57 views

How to disable Dropdown in infopath IE doesn't but It works in FF

I have a element of type dropdown I would like to disable in an InfoPath form based on a user's group membership. When I use the below code it works in FF but not in IE 10. ...
0
votes
1answer
13 views

When I add a CEWP my columns titles are condensing

I am following these steps to create a label on my SP new form. When i add the CEWP and insert the code snippet that is provided in the instructions my title columns condense and go from looking like ...
0
votes
0answers
35 views

Update webpart sharepoint 2013 with jquery

I want to update my custom webpart, I tried the UpdatePanel but it updated all the Webparts in my page, so I looked for the Webpart Id then I wrote a script : <script> ...