Questions tagged [jquery]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
54 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
45 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
424 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
213 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
80 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
191 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
109 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
34 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
32 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
56 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
51 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
159 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
54 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
58 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
61 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
77 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
41 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
23 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
119 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
188 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
81 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
111 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
21 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
52 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
80 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
23 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
179 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
84 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
30 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
69 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
40 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
44 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
121 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
31 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
41 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
24 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
0
votes
0answers
76 views

Export Web Page to PDF with css using JavaScript / jQuery

I know that, I'm re-posting this similar question, but the solutions that I found on the internet is not fulfill my need. I need to Export a web page (SharePoint online custom page) to a PDF with ...
0
votes
2answers
28 views

Trying to get an Excel document through ajax, running into async issues

I'm adding JavaScript to a SharePoint and I'm trying to write a function that gets an Excel document, or rather the data in it, from a library. I've already figured out how to do that, but the files ...
1
vote
0answers
27 views

Can I get the content of a Site Page and use it inside my SPFx Web part?

I have a webpart which I want to fill with the HTML of a SitePage.aspx. If the user fills the SitePage with a Title, 3 blocks of text and an image, I wish to be able to use that exact same content ...
0
votes
0answers
37 views

Javascript running in edit mode only (Sharepoint 2016)

On my Sharepoint 2016 page I have a list and a search function created via Script Editor that filters the list. I have this exact same code working on a Sharepoint 2013 page fine, but on this 2016 ...
0
votes
2answers
18 views

Remove value dropdown (multivalue) logic in JQuery

How to implement logic button "Remove" in JQuery to remove a value from dropdown (multivalue)?
0
votes
0answers
97 views

How to disale Contextmenu or Right click event in iframe/embed using javascript/Jquery

I have loaded the PDF document in the .aspx page using iframe, How to disable the contextmenu/Right click event using javascript/jquery. Any help would be appreciated. Thank in Advance.
0
votes
1answer
28 views

Error inserting data into SP list using REST API

I've never seen this error before and I've used REST API many times. I am in SharePoint Online so maybe it behaves differently. Whenever I insert and item into a list using REST, I get the ...
0
votes
0answers
17 views

Getting a document via ExcelRest: Request Entity Too Large

I'm currently attempting to get a file from my SharePoint library by making an AJAX query to ExcelRest. I'm able to return a document in this way, but when I attempt to get the document I need I get ...
0
votes
0answers
17 views

Limit the people picker control according to contact list of each subsite

We are using SP2016 on-premise. A custom people picker is setup according to MSDN article. The people picker control is working and we want to limit the picker selection according to a list (contract) ...
1
vote
1answer
59 views

How to return results from executeQueryAsync

I know this has been asked before here and I've viewed several similar questions, but I'm just not getting it and could use some assistance. I'm currently reading a file in SharePoint's library via an ...
0
votes
3answers
44 views

REST API update error

I am using vuejs with SharePoint. I get the following error in the function below. "The property 'columnName' does not exist on type 'SP.Data.RegisterListItem'. Make sure to only use property names ...

1
2
3 4 5
40