Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
14 views

Insert Row in sharepoint list form newform using jquery

How to add a tr in between rows in share point Newform using jquery? Attached is the DOM of my sharepoint form. . I tried like this but it inserts inside the inner table of the form var attachHTML='&...
0
votes
1answer
23 views

Adding a new control in New/Edit form using CSR display templates

I am planning to attach a attachment control in my newform and edit form using CSR display templates. i was able to add the control in the page but it is repeating (screenshot for the same). How can i ...
0
votes
2answers
23 views

Attachment Control in Newform and Edit form of a list Using Jquery

Has any one tried inserting Attachment control in Newform and Display form using Jquery with out going for Custom forms from Designer. I know we can add an attachment control through designer. When i ...
0
votes
1answer
19 views

Remove Span Tag on adding a text

On dropdown change event i am making a column mandatory. if you see the below pic for the first time when TypeofRequest="508web" what format should be return as becomes mandatory. The below code works ...
0
votes
1answer
26 views

Fetch the text value of Nobr based on child td

I wan't to fetch the text of nobr based on child td. MY HTML is below in screen shot I tried like this but it gives me empty value $("[id^='FormatShouldReturnas']").parent('td nobr').text();
1
vote
3answers
39 views

Get Specific <td> tag in Sharepoint List New Form jquery/javascript

I need to add a span element to a specific in Sharepoint List New Form.But, how to get that specific td element using jquery ot javascript. Anyone can help me in this? beside to single line text ...
0
votes
1answer
34 views

how to alert message in sessinStorage

I have a button on my update page. This button redirects and refreshes the page after sending sms I want that; If the user pushes the button and sends sms 1 time, do not press the same button 2 ...
0
votes
0answers
14 views

Printing SharePoint online web parts

I am using the following to print all the web parts on a SharePoint online webpart page and it is working however I am missing my headers. I have customized my headers with CSS to show background ...
0
votes
2answers
28 views

jQuery .combobox() breaks SPCascadeDropdowns relationship

I've implemented SPCascadeDropdowns functionality on SharePoint Online into my new item form. That's ok and it works. $(document).ready(function(){ $().SPServices.SPCascadeDropdowns({ ...
0
votes
1answer
15 views

sharepoint dropdown change event based on TD ID

in My custom form i have my HTMl like this <td width="400px" valign="top" class="ms-formbody" id="Type_x0020_of_x0020_Request"><span dir="none"><select name="ctl00$ctl33$...
0
votes
0answers
13 views

SharePoint 2013: populate DateField with Hour and Minutes

On a new form, I need to be able to auto-populate the date, as well as the hours and minutes fields. I DO NOT want Now() b/c I want the initial date to be fixed. The following code fills the date but ...
0
votes
1answer
45 views

Is there a way you can fetch SharePoint's more than 5000 items using datatable?

Is there a way you can fetch SharePoint's more than 5000 items using datatable Jquery recursively in REST API? I also wanted to show the next set of data (next 1000 items) after clicking a button.
3
votes
2answers
294 views

How to use jquery promise in JSOM

I have code like this (Default.aspx): <asp:Label id="LabelA" runat="server" Text="0"></asp:Label> <script type="text/javascript"> document.getElementById('LabelA').innerHTML = ...
0
votes
1answer
40 views

Display on another SharePoint-Site Content from a DIV located on any SharePoint Wiki Page [SharePoint 2013]

On any Wiki-Page I have created a DIV: <div id="content">This is the content which should be displayed on another site<br/></div> Now, I would like to display this DIV on the Wiki ...
0
votes
0answers
7 views

Implementing SharePoint site tour with pulgin or other JS framework?

How to implement site tour in SharePoint page, i have implement bootstraptour.js but autoscroll issue is there, Anyone have implement a simple site tour in SharePoint page. Kindly help.
0
votes
2answers
27 views

Get current user group name

I am trying to get current user group name when the member is added via Active Directory in SharePoint 2013 using Rest/jQuery. Any help is appreciated.
0
votes
2answers
78 views

No Masterpage/CSS Access. Need to programatically set up drop down menu on TOP Nav bar for Team Site w/o Publishing

First off, my limitations. I do not have access to the master page(s) or global css (either using SPD or not...). Nor do I have the ability to use managed or global navigation. This is a Team Site and ...
0
votes
0answers
21 views

sharepoint calendar filter by dropdown catagorey/user

Really struggling with this one. SharePoint doesn't let you connect any filters to a web part calendar to add custom filtering. we have a sharepoint site page that has a web calendar that has a view ...
0
votes
0answers
16 views

EditForm with angularjs, jquery and REST API

I followed this link to customize my newForm.aspx for creating new list items: https://www.concurrency.com/blog/august-2016/custom-sharepoint-form-using-office-ui-fabric-and But I would like same ...
0
votes
3answers
109 views

SharePoint Online List Accordion

I am needing to create an accordion in SharePoint web part for online, however I am quiet new to JS & Jquery. Is there an example of an accordion that I can use to help this? The items must be ...
0
votes
1answer
23 views

Undefined error when capturing the time from SharePointList

I am trying to capture the time from SharePoint list using jquery, but it says Uncaught TypeError: $(...).closest is not a function when I try to store the hour field in a variable and then use it. I ...
1
vote
0answers
15 views

How can I remove the option of 'Save and Close' on the Survey sharepoint app?

As above from the question, would like to find out if I'm able to remove the option, 'Save and Close' in the Survey app form? Thank you!
0
votes
1answer
31 views

How to retrieve multiple checkbox values with jQuery

I'm struggling with this for a week now and I can't find an answer. I have a multiple checkbox in a Sharepoint form: R1 R2 R3 R4 R5 R6 I need to know when two or more checkboxes are checked. In ...
0
votes
1answer
6 views

SharePoint 2013 Document Library Calculated Column behavior on search

So... I have a calculated column for multi-lingual documents so that I can have the English and French titles usable in document library views. I turned on Document IDs and use the following code: =...
0
votes
3answers
77 views

Checking if a user is in one of the groups

this is the current script that i found online which checks if a user logged into SharePoint is part of a group. As you can see in the syntax below, it is used to check if the user is part of the ...
0
votes
2answers
42 views

SharePoint time field value using jQuery

I am trying to get the time selected from SharePoint list and store it one variable. I have attached an image for reference, Can anyone help me with this?
0
votes
2answers
25 views

I'm trying to get the values of the selected checkboxes in Sharepoint and store them in an array and pass it to POST request

I have tried the following code. I'm not sure where I'm going wrong. I have multiple checkboxes in my sharepoint form. Can somebody help me with this? $(function () { var checkedAttr = []; ...
0
votes
0answers
13 views

JSzip download issue in IE for large files

I am using jszip to download zip file (that has multiples files in it). The code works fine in Chrome/Firefox/Opera browsers.However it doesn't download in IE if the file size is more than 100MB. If ...
0
votes
4answers
68 views

conditonal formatting working on lists and not libraries?

Any reason why this code works on a list in a page and not on the list of pages (Pages library - PAGES) displayed on a page? The 'cell' (ms-vb2) is the same in both cases. <script src="https://...
1
vote
1answer
30 views

How to bind SP.PermissionKind Enumeration to a dropdown list using jquery

I need help as I have a requirement to get all permissions (PermissionKind Enumeration)and bind it to a drop-down. Also, I need help to know what are the different ways to bind Enumerator value using ...
0
votes
1answer
38 views

How to know if 'ms-CommandBar' component has been loaded using SPFX extensions

I would like to hide the above commandbar in all pages using javascript in spfx extensions(application customizer). I have tried the below code @override public onInit(): Promise<void> { ...
1
vote
1answer
18 views

Insert button after webpart

Rather than inserting several content or script editor, is there another way to insert this line of code after a certain webpart? I have 3 web parts I want to have a button underneath them. code to ...
0
votes
1answer
23 views

Color coding a single cell in list with jquery

based on this jquery that worked, how do I change it to color code a single cell instead of the whole row? I also need 3 colors <script type="text/javascript"> $(document).ready(function(){ ...
1
vote
5answers
96 views

SharePoint Online List Search is not working by using jQuery

I am trying to programmatically trigger a search using the "Find an Item" search box within SharePoint 2013 List Search Box. The plan is to insert text into the search box (an input control) using ...
0
votes
3answers
49 views

What is a better way of writing this code? (JQuery which displays x list form rows based on a number entered by the user).

I'm working with a SharePoint 2013 NewForm. The list it relates to contains fields to hold information about batch files that being submitted, 4 fields per file. (So if 2 files are being submitted, ...
0
votes
4answers
37 views

JQuery not working using select or ID in SharePoint 2013

I have the following code in a content editor web part and it doesn't seem to work on my SharePoint new form page. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js">...
0
votes
2answers
51 views

how to tell js that a colum value is changed?

i'm trying to set an step progress bar inside an item, but i couldn't make it dinamicaly because i can't catch if the field value is changed. so, can someone tell me if i can call the function when ...
0
votes
2answers
141 views

jQuery.addClass working in Chrome but not IE11

I'm working with a "new item" form for a SharePoint survey. In Chrome, the following code shows an alertbox and then makes every other row darker. In IE 11, the following code shows an alertbox but ...
2
votes
3answers
64 views

How to show/hide columns based on value of SharePoint choice check box

I am working with SharePoint online and in one of the lists, I am using a choice check box column called 'Vehicle Type' with following choices: Personal Vehicle, Company Vehicle. I am looking to do a ...
0
votes
0answers
5 views

Possible to have a self contained RSS reader widget pulling from list?

As I'm building our site, I have a simple HTML page. None of it sharepoint. I ideally wanted a web part simply added but it seems too complex, so another option. Using the RSS feed on a list and ...
1
vote
0answers
26 views

Allow Only One User to Submit SP Form

I know this should be able to be possible but do not know where to start. I am working in sp13 and created a custom list. The custom list form I want users to be able to submit one form and not be ...
0
votes
3answers
56 views

Possible to embed sharepoint list/library in a regular HTML page?

Our new site is made entirely with HTML and we are pleased with how it is progressing. The pages contains links to various sharepoint libraries which is fine. But on the home page we want the ability ...
1
vote
1answer
24 views

SharePoint list form field as Read-Only with IE

WE are not able to get the form field as Read-only with IE and it is working with chrome. code snippet : <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js" type="text/...
0
votes
2answers
66 views

Customizing NewForm in SharePoint online

I am currently using SharePoint to set up a vacation request system. I have created the following lists Vacation Request Vacation Request Dates Vacation Request history On the NewForm for Vacation ...
0
votes
2answers
49 views

Hide nearly all page elements except when user is site admin

I'm feeling my way through being a site collection admin. I have a home page I wish to remove all sharepoint elements and just have a table of buttons. I've done this by added this CSS to a CEWP: <...
1
vote
0answers
47 views

SPServices referencing throws a Uncaught TypeError: $(…).SPServices is not a function

Anyone knows how to effectively get rid of this error? I have referenced the SPServices and jquery from my site assets library and also tried referencing for cdnjs but both throw the error which I get ...
0
votes
0answers
23 views

Jquery plugin remodal in SPFX Webpart

Hello as found on the internet I added a jquery plugin to manage modal box in my sharepoint Framework webpart. It worked perfectly for the first day but when I came back the day after it looks like ...
0
votes
1answer
88 views

Updating sharepoint list items with batch pnp, in bad request

I've used this guide to create my batch and update the items. var list = pnp.sp.web.lists.getByTitle("Categories"); list.getListItemEntityTypeFullName().then(entityTypeFullName => { var batch =...
0
votes
0answers
17 views

Show additional information about resources in the resource calendar

is it possible to show additional information from the resources list in the resource calendar? Either directly below the resource name or as a hover text? Alternatively, it would be sufficient if the ...
0
votes
2answers
69 views

get items from a image library and bind using foreach loop with multiple HTML image ID using JSOM

I am trying to create an image slider using JQuery where I am facing difficulty to bind multiple images to HTML labels. As I have already used in while loop how to use this using for each loop to ...