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

learn more… | top users | synonyms

0
votes
1answer
42 views

Fetch the document name from Document Library using Document ID

I have a Document Library with multiple documents. One can select multiple documents even all the documents at a time. I need to fetch the documents name which are selected in Javascript using JQuery ...
3
votes
1answer
41 views

How to know which people picker is which

I'm trying to replace all of the "bad" old-style people pickers on our custom new/edit forms with the new good client-people pickers. With this thread I came up with the idea to use jquery to find ...
0
votes
1answer
23 views

when i fetch Admin name from list , it gives result as “[object Object]” and not the proper admin name

My List Name Age DOB Indian Title Admins Doc Name Doc Id Address <script type="text/javascript" ...
0
votes
0answers
26 views

in a list, i have lookup fields and i want to fetch lookup:My Name field to one of text box in html named DocNameId…please provide me code

<h1 align="center">My List</h1> <table id="maintable"> <tr> <td>Name</td> <td> <input type="text" id="NameId"/> </td> <td>Age</td> ...
3
votes
1answer
72 views

How to get current master page and replace it on the Site using javascript

I am using SharePoint 2013 Online and I'm looking for some JavaScript and html to get current master page for the site and change the same with other master page. If anyone could help or just point ...
6
votes
0answers
56 views

JSLink in form tag is not working from schema.xml in my SharePoint hosted app

Here is my code from schema.xml <Forms> <Form Type="NewForm" Name="{65B105CA-E7D8-4B28-8C9F-5B0DCBA7E0CA}" SetupPath="pages\form.aspx" WebPartZoneID="Main" Url="NewForm.aspx" ...
0
votes
1answer
74 views

SharePoint Online (Office 365) - AutoResolve people picker with current user and detect change in people picker value

I am trying to implement a solution in SharePoint Online by customizing the NewForm.aspx page of a out of the box Calendar List using javascript with the following requirements: When page loads, a ...
0
votes
0answers
12 views

SPCascadeDropdowns Issues

I have an issue with SPCascadeDropdowns. I have a lookup to Hospital Trust and Hospitals. If I add a new list item the first one saves fine. However subsequent entries do not save the hospital and ...
0
votes
0answers
32 views

Export Html table to Excel Using JSOM in JS file

I had written the code to fetech the data from sharepoint list and display the information using JSOM from js file.Everything is working fine and when I had written the function to export the html ...
-1
votes
2answers
68 views

How to get item id from a list view webpart

I have a calculated column with html button where i am calling the java script. On this button click i want to get the ID of the share point list item. I dont want to use desiner workflows to copy ...
0
votes
0answers
36 views

Append dynamically generated checkboxes into a jquery dialog and pass back selected ones to th ecalle dpage

I had populated the jquery UI dialog with the list items (ID and Title only) I derive using a CAML query , on button click. I want to append checkboxes dynamically to the list item values selected in ...
1
vote
2answers
81 views

In Sharepoint 2013 online , within $(document).ready(function(){}), sp.js does not get loaded since I do not get clientcontext object

I am trying to display list items on a popup triggered by a button... <script type="text/javascript"> $(document).ready(function() { $( "#divList" ).dialog({ ...
1
vote
2answers
37 views

Using CSS3 with SharePoint 2010 causes issue with people picker

I am trying to develop a jQuery based NewForm for a SharePoint 2010 list. Our staff all have IE 11 running in compatibility mode. I force IE to use a CSS3 compatible version by editing the sites ...
1
vote
2answers
80 views

Retrieve Data from Sharepoint List

I'm trying to get Data from SP List via SOAP. It works for standard columns like "ows_Modified". But if I try to get Data from Column I created (example: "DogNames") in the SP List by myself, it ...
-1
votes
1answer
36 views

Getting list items in SharePoint Hosted App for Office 365

I want the code snippet for Getting the list items and Show it in the App page. I'm creating SharePoint hosted app for Office 365. How do i get the list item values? Thanks in Advance
-1
votes
1answer
52 views

SharePoint 2013 _vti_bin/usergroup.asmx 500 (Internal Server Error)

I am getting this ERROR: _vti_bin/usergroup.asmx 500 (Internal Server Error) when i try to get User Information. Can anyone see whats wrong with the code: <script language="javascript" ...
0
votes
1answer
20 views

Populate New Task choice field via LocalStorage

We are using local storage to hold a text box/title value from a 'main' problem list. In this 'main' list, we first identify the issue/problem. We then add tasks in a task list associated to the ...
1
vote
1answer
43 views

Custom pagination

I have a SP list called "Company" containing 6000 items. Also I don't have access to central admin nor I have a site collection administrator permission(also no designer access). I want to create a ...
0
votes
2answers
23 views

SharePoint Forms Fields depend on User

I hope you all are doing good. I have an query regarding SharePoint forms I hope if anyone can help me out. I want to create a SharePoint form where a member from any department can ask for a leave, ...
0
votes
1answer
40 views

Display Profile Image, Can't Select Picture Url

I am attempting to retrieve some profile properties for the current user, and am having a hard time with the profile picture Url specifically. Version is Sharepoint Foundation 2013. When I open the ...
0
votes
1answer
39 views

Logical operators are not working in JS file

Everything is fine I am able to fetching the data from SharePoint 2013 List using CAML query in my js file. But when i try to get the data via dropdown conditions my code is executing in the else ...
3
votes
1answer
77 views

Getting item id from newly created item

I am using SharePoint 2013 Enterprise version. I am using below rest api code to add the record I kept below code in common js file function CreateListItemWithDetails(listName, webUrl, newItem, ...
0
votes
1answer
37 views

Highlight upcoming/overdue calculated column dates in a training list

I have a list to track customer training. Two of the trainig items are recurring; Ethics - annual and GPC Refresher - biannual (every two years). The due dates for each training requirement were ...
0
votes
1answer
26 views

Required field validator is not working in jquery

Here is my code Index.cshtml I gave Javascript functions but validations is not working please check this where i did mistake in this code.Thanks in Advance. enter code here<div class="row"> ...
1
vote
1answer
57 views

Get start and end date of current week which starts in one month and ends in another month

I have to get start date and and end date of current week. I used this code but end date is getting previous month name if week start in one month and ends in another month. Date.prototype.getWeek = ...
3
votes
2answers
146 views

check if the theme is inherited from the parent site using Jquery in SHarepoint 2013

Is there any way we can check which on a site whether the theme is being inherited from the parent site using jQuery/JavaScript
1
vote
0answers
20 views

Chaining rest calls

I've got a page where I want users to add themselves to a sharepoint group and then read the contents of the library. This requires three things, get the current user, add to group, and read the ...
3
votes
4answers
68 views

Upload files on SharePoint 2013 document library using jQuery

How to upload files on SharePoint 2013 document library using jQuery? I am stuck with this.
0
votes
2answers
31 views

CSOM not retreiving count of items in a list

I'm trying to get a count of specific items in a SharePoint 2010 list but I keep getting a count of ALL the items in the list. Here is my code: var clientContext = null; var web = null; ...
0
votes
2answers
42 views

The bootsrap glyphs not displayed on SharePoint public site

I recently connected a domain to my public website on SharePoint Online (Developer tenant). When I connected the template with the master page and page layout works flawlessly on: ...
3
votes
4answers
171 views

Approaching to have a third part web application inside SharePoint 2013

I am working on SharePoint enterprise server 2013, and I am trying to find the best approach I can follow to achieve this requirement:- Our customer has a web page which list their employees info. ...
0
votes
0answers
24 views

how to append description column using jquery

I am trying to append description column from list using jquery but am unable to get the out put. Can some one help me out. function fnCallBack(xData, Status) { var ctrFirst = 1; var liText ...
0
votes
1answer
71 views

Iterate through list items stored in array JavaScript

I am currently using SharePoint 2013 Online and I have some code which I am running to retrieve list items. I can successfully get the list items and store them in an array however I then need to ...
0
votes
1answer
90 views

GetListItems return undefined if query applied

I'm using GetListItems with query on SP page called for eg. "A" and everything is working there. Now I copied same code to second list B and in this list xData.responseXML is empty when I'm using ...
-1
votes
1answer
37 views

Show the images from the shared drive with C# MVC [closed]

I want to show the images from the shared drive, I have published the solution and hosted in the IIS and created one directory named as "Images" which directs to the another server's shared folder ...
2
votes
3answers
195 views

Get GUID of SharePoint list using jQuery

I have different sites like http://SP.abc.com/SPSite1 http://SP.abc.com/SPSite2 http://SP.abc.com/SPSite3 and each having one Library with the same name called Lib1. Now I want to get GUID of ...
0
votes
1answer
109 views

Auto fill People Picker Column with current user in 2013 in new and Edit Form

I want to auto fill the new People picker column in SharePoint 2013. I want to do it in Edit and New form. It could be current user or anyother user.
1
vote
2answers
78 views

show Doc icon of SharePoint document library using jquery in jqgrid

My scenario is to show doc icon in Jquery Grid for sharepoint document library. My Data is in JSON. here is how i am fetching the data and building the array object and Pass it to JSON.Now in my ...
1
vote
0answers
40 views

SharePoint List filter web part - remember selection jQuery

I have a SharePoint list filter web part connected to other web parts which filters content based on the our clients names, everything it working great but I have one issues: When i select a client ...
0
votes
2answers
55 views

Can't access SharePoint List in document.ready function [closed]

A function (F1) has the implementation to access a SP list. This function gets executed and successfully accesses the SP List if this function is called in the click event of a button on the form. ...
1
vote
2answers
65 views

Populate navigation menu with ajax

I have a Sharepoint Online site with about 100 subsites. I want to populate the navigation menu with only the top 5 subsites and 2 static subsites. I created an empty navigation column named ...
0
votes
1answer
49 views

How to Cascade Lookup columns in sharepoint 2013

I have two lists called "ProjectManagers" and "Projects". In ProjectManagers list I have added some names in Title column. In Projects list I have created a column(Projectmanagernames) which is ...
0
votes
0answers
23 views

Autofill Text Column upon Selecting an Autocomplete Suggestion in New Form in SharePoint 2013

I have autocomplete working as far as it producing suggestions, I would like to fill the text field with the value of the autocomplete suggestion that renders upon entering the first few characters. ...
0
votes
0answers
24 views

How to add header labels between columns in list?

How to add a header label between columns in custom list new form or edit form using jquery or any other solutions? ex: Project name : textbox Project Management and Implementation Phase. ...
1
vote
0answers
28 views

Script Editor Web Part works but main page does not fires script sections

Like many question I have seen the jQuery document.ready works in the web-part during editing but not after I save the page. I found this code on SO and thought I run a couple of test to see what was ...
3
votes
4answers
405 views

Javacript only executed on first page load

I have javascript code included in my sharepoint site. When I load the page the first time, it is executed, but when I load it the second time, it is not running. It get's loaded in correct order but ...
1
vote
0answers
14 views

jquery plugin defaults with ajax.load [closed]

Im creating a jQuery (ajax.load) plugin which triggers the plugin based on a set data-attribuut. The value of this attribute overwrites the default setting. All works fine, but: 1) if the value is ...
1
vote
1answer
61 views

jQuery script for new list item form only works in edit mode

Newbie question. With Sharepoint Online, on a new List I'm modifying the Default New Form and I've added a Content Editor web part. I've linked the Content Editor to a script file that I've uploaded ...
0
votes
0answers
30 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
33 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 ...