Questions tagged [jquery]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

Sharepoint 2013 - How to add Expand / Collapse button for 2 levels of grouping

I am a non-coder. I have a FAQ page which is a list view with Newsletter style. There are 2 levels of grouping used 1. Category 2. Question. I am looking to add a toggle button or 2 buttons for ...
0
votes
0answers
9 views

SP 2103 Form Headers Above Fields: Need Equals === Not Contains (no Infopath)

I use JQuery to add headers above specific fields in my forms, but it uses "contains" to locate fields. I need code to locate fields by an exact match on the field name or ===. I need help to ...
0
votes
0answers
10 views

Display a specific list view using JSOM

Below is the code that I've currently got. I can not figure out how to add in the list view properly. I've added in var views = list.get_views("view name"); but every time I do, I get a blank page. ...
1
vote
1answer
22 views

SharePoint 2016 Custom List: Accordion with jQuery Icons [closed]

I have used the code below for my SharePoint Custom FAQ List, and it works pretty fine. Now I would like to add jQuery UI icons such as ui-icon-plus (+) and ui-icon-minus (-) icons. How do I do that?...
0
votes
0answers
12 views

Add More Tiles to Hero Web Part

I created a Hero web part in SharePoint 2019. I am using five tiles that have a big tile on the left and 4 cluster on the right. I will like to add 2 more tiles to the 4 cluster tiles on the right ...
0
votes
1answer
17 views

SharePoint 2016 On-Premises: Retrieving and Comparing Items using jQuery

I am trying to catch double booking when people create events on a calendar in SharePoint 2016. Using the PreSaveAction function, I want to retrieve the current item being created and then do a for ...
0
votes
1answer
23 views

How to show hide columns when 2 or more checkboxes are checked in a choice field

Struggling with this for a while: I think I need an OR statement somewhere I am trying to hide the columns when either Male or Female boxes are selected $(function(){ $("nobr:contains('If Male')"...
0
votes
1answer
32 views

Sharepoint Cascading Dropdowns - Show Default Value from List B in List A

I have a sharepoint list setup on SP2013, for employees to make reservations for a training session. There is also a linked list where count against each session is updated when someone books a ...
0
votes
1answer
14 views

Adding object values to the correct SharePoint list columns---getting blank SharePoint rows

I'm parsing an Excel file and it's coming back as an array object. I want to add each object value into the correct SharePoint list column. I'm using POST to upload to info and the data is going ...
1
vote
1answer
22 views

How to display just 1 list (announcements) items SP Services

I have a web-part created using SP Services to display Announcements on my SharePoint. I have tried to copy this web part and display different list (also announcements) however I'm having trouble ...
0
votes
0answers
21 views

SharePoint - PreSaveAction function problems

I have a jquery control that i developed with JSLink. If I save the form the contents of the list item disappears. So I have created a PreSaveAction function in jquery that at the moment copies ...
0
votes
0answers
35 views

How to display upcoming events of calendar in SharePoint 2013 using jQuery?

The requirement is to display upcoming events(at least 3)from a SharePoint Calendar on the home page using jQuery/Javascript. I'm using SharePoint Designer 2013. Please let me know for further ...
0
votes
0answers
25 views

How to insert text in JavaScript array that pulls SharePoint list fields

I am utilizing a script to group a SharePoint List form items into tabs. My issue is that I need to be able to add text to one of the tabs, or under certain fields, but I haven't been able to figure ...
1
vote
0answers
24 views

Getting error while uploading large file in sharepoint Online with REST API(Client side)

I am using HTML/Jquery form to upload files to upload file in sharepoint but if filesize is big(100MB+) then chrome browser is crashed (chrome Aw, Snap!" something went wrong) No error ...
1
vote
2answers
37 views

How to Upload Large Files onto SharePoint using REST API and JQuery

I'm developing a web application built on top of SharePoint 2013 using HTML, JavaScript and JQuery but I'm having trouble trying to figure out how I can upload large files onto a SharePoint Document ...
0
votes
2answers
51 views

Show Uploading Percentage status in loader

I have a question about uploading file via PnP JS SPFx in SharePoint online. I had successfully uploaded files via PnP JS. After that, I need to show uploading percentage. Same requirement, using ...
0
votes
1answer
38 views

SPFx JQuery Dialog button click does not find public function

I am new to TypeScript and SPFx development. I have a jquery UI dialog box and a public function in the same class that makes some MSGRAPH calls after the button has been clicked. The button click ...
0
votes
1answer
37 views

Arrange Checkbox and Radio button from vertical to horizontal alignment on new form on SharePoint online list

We have multiple checkbox & radio buttons columns on our SharePoint online list form. We want to change the display of all checkbox & radio button horizontally. We tried below script, but ...
0
votes
0answers
28 views

issue with “Enhanced rich text” column on custom SharePoint list form

we had customised our SharePoint classic form by using hillbillyForm template. Actually we modified our SharePoint online list form by following the steps mentioned on the below blog link. https://...
0
votes
2answers
28 views

jQuery AJAX list Get $.deferred..nothing happens

I am trying to use jQuery deferred to cache data into arrays coming from lists so I can use throughout my code for efficiency. Unfortunately, I am unable to do so. I don't get any errors but nothing ...
0
votes
3answers
28 views

increase column width of new form(newform.aspx) on SharePoint list

On SharePoint list form, we have different column's with different width. We want to increase column width. Our aim was all columns need to have same width on form. Please refer attached image. Kindly ...
0
votes
0answers
20 views

Caching data from sharepoint list before using it else where

I successfully created a dynamic navigation using a SharePoint list as a data source. Here's the mock-up I created in codepen that now works very well in the SharePoint navigation but using a list. ...
0
votes
1answer
30 views

Sputility.js on SharePoint 2019 - Unable to submit an item on a list

I have a custom .aspx file built by a different person (long time ago) on SharePoint 2013 where I have jquery-1.11.3.min.js and sputility.js loaded. It is used to hide and show some fields, and then ...
0
votes
1answer
37 views

JQuery to check SharePoint list for timestamp of last modification

I am trying to get the time and date a SharePoint list was last modified. The code to call the date and time will live on a different SharePoint page. I've thrown the code below together based on bits ...
1
vote
2answers
38 views

Hide column display name on sharepoint list display form using jquery

How to hide the column display name in the sharepoint list display form using jquery. I do not want to hide entire field. I want the control to be displayed but only the display name has to be hidden. ...
0
votes
1answer
38 views

SPFX : Undefined Hammer while trying to load third party javascript

I have create a custom SPFX webpart and what I'm trying to do is to convert the HTML and JQuery flipbook into SPFx webpart. I've download this plugin and add all the reference. However, when it is ...
2
votes
2answers
52 views

SPFx. Error while importing modernizr in SPFx

I am new to SPFx and I am getting an error while trying to add jQuery and external JS in SPFX. Example my web-part name is FlipBookWebPart and I am trying to add turn.js and modernizr.js into the ...
0
votes
2answers
33 views

JQuery - Set Person Field Value

How to set person field on form load and save the field value when item saves. I have added following code in script editor web part NewForm.aspx. But this is not working. Appreciate your support. $(...
0
votes
1answer
76 views

SOLVED: SPO filter results to display 'Title' field values while filtering page wps from another field in same list

I want my autocomplete filter to display the search results based on the Companies list item's Title field while filtering the page's WPs based on another field in the Companies list. I am working ...
0
votes
1answer
30 views

Jquery not loading on inital page load for suitebar links

I am trying to edit the SharePoint 2016 suitebar links and want to replace "sites" with a custom name and link. I have been able to edit the name via CSS but need to edit the link using JavaScript as ...
0
votes
1answer
20 views

Set the chosen drop down list with lookup field value

This is my Function : function RetrieveNewChange(ChangeID) { var getItemsUrl = "/_api/Web/Lists/GetByTitle('" + ChangeList + "')/items?$select=ID,Title,Employee/Id,Employee/Title,Employee/FullName&...
0
votes
2answers
78 views

Show/Hide field in SharePoint O365 based on cascadeing dropdown value selection

I am new to SharePoint forms in O365. I have a created a form which has cascading drop downs. 1) Country - A normal drop down field 2) State - A cascading drop down field linked to Country 3) City -...
2
votes
1answer
96 views

Display image from a list(column-hyperlink/image) using REST Api

In my SharePoint Online site, I need to display images from a list on a page using REST API/jQuery. The images in the list are stored in hyperlink/picture column in the list. Can someone suggest me ...
0
votes
1answer
36 views

How to refresh Sharepoint List Web Part in jquery?

I had added one SharePoint list web part. I want to need refresh web parts without refreshing the whole page using jquery or SharePoint default.
0
votes
1answer
92 views

Customizing SharePoint list fields in list forms

Currently in my SharePoint (2013 version ) custom list, the list forms are customized to render in tabs format. So each tab has few number of columns/fields in it. Now I have a requirement, in one of ...
0
votes
1answer
18 views

Calendar Content Query on 3 lines

I have a design requirement based on a custom design created by a UX team to show the 3 most recent calendar entries on 3 separate div elements on a SharePoint 2016 Site Page. Each should only pull ...
0
votes
1answer
33 views

How do I insert a value in a radio button based choice column in a SharePoint 2013 list using REST API in JavaScript?

Here are the columns I have in the backend list. Here's how I am sending the data to the backend list through a POST request using AJAX. var item = { __metadata: { type: "SP.Data.ListNameListItem"...
2
votes
1answer
69 views

SharePoint Online OOTB form access denied error

I have a SharePoint list form which has been customized using SharePoint Designer. I am using the script to populate logged in user details in the form. I have full control of the site and list. So ...
0
votes
0answers
21 views

CascadeDropdown doesn't work

I use SharePoint 2013, create 2 lists 'listA' and 'listB' with fields as below: listA has 2 fields: Department & departPOC Department: single line of text, unique departPOC: Person or ...
1
vote
1answer
112 views

Save as draft functionality on SharePoint online list form

On SharePoint list, normal we have Save and Cancel option when user fill new form. User want one more button "Save as draft". So user can fill form with some data and then after user need to fill data ...
0
votes
1answer
40 views

Trying to POST to a SharePoint List: 'SP' is undefined ReferenceError: 'SP' is undefined

I am trying to write a JS function that sends a POST request to a SharePoint List to add new List items to that List. I have done this in the past using SP.ClientContext and would like to continue to ...
0
votes
0answers
22 views

Sharepoint online - Guided tours, feature tour, walk throughs

TLDR; Is there a way to create in-app walkthroughs/ guides tours/ feature tours using open source packages like intro.js, chardin.js, joyride, bootstrap, HopScotch, Crumble with Modern SharePoint ...
1
vote
1answer
47 views

How to show/hide web part

On a SharePoint page, I have two web parts: One web part displays root Documents folder and another web part on the side is just a text that provides some tips to users. But when a user clicks on any ...
0
votes
2answers
39 views

Customize SharePoint 2013 New Form

I am struggling with SharePoint and JQuery. I tried to add new HTML elements to a a SP 2013 New form. So I fired following command in the Chrome dev console: $("select[title='TEST']").closest("td")....
1
vote
1answer
31 views

Change List Web Part background color when any item in the list has a certain value for a particular field?

Here's my situation. I have a DispForm that has two Data View Web Parts at the top that are displaying a few related items from two other lists. What I've been trying to figure out for hours now is ...
0
votes
1answer
65 views

Query multiple sharepoint lists with big data

Our SharePoint 2016 site consists of 14 custom lists where each list has approximately 500 list items. We wanted a way to query all 14 lists by PR NO which is common in all lists. We were looking for ...
0
votes
1answer
25 views

Javascript/Jquery list search - search by column instead of everything

I have this function which filters a list from a Web Part on my SharePoint page which works great, the only feature I need now if possible is to search only a specified column for the value, as it's ...
0
votes
0answers
31 views

SPO jQuery how to hide multiple columns

I want to hide multiple columns with all their rows followed by those columns (Comments,Test1,Test2,Test5) in my list based on a specific group permission. Here is a screenshot: I have a found a ...
0
votes
1answer
25 views

Access popup window element JavaScript

I have written the following code to load a popup(List B NewForm.aspx) when a List A NewForm.aspx is submitted. The popup has a div. var dialogOptions = SP.UI.$create_DialogOptions(); dialogOptions....
0
votes
1answer
23 views

Convert PDF content(with images) to the Inline HTML content

Is there any Javascript library or code available to convert pdf content(with images) to the HTML inline content. Any help would be appreciated, Thanks in advance

1
2 3 4 5
40