Questions tagged [jquery]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

Sharepoint Star Rating image not updating (display form)

I have been trying to implement a star rating in a display form. For this I partially utilise concepts from this post: Rating Feature in Display Form SharePoint 2013 ; When placing the $().attr() ...
0
votes
0answers
23 views

IE11 cross site collection call issue in iframe

Whenever I try to click button which is inside Iframe using jQuery in my SPFx webpart in IE11 it gives below error. Link in the iframe is of different site collection: SEC7111: HTTPS security is ...
0
votes
1answer
20 views

400 error when making POST request (adding item to SP list)

I have a form that contains check boxes and input fields, and hitting the Submit button should ideally add the content values to a SP list. When I run the debugger I can see that each input (checked ...
0
votes
0answers
10 views

Create a task with multiple attendees to create multiple tasks per attendee

Here is a desirable case. During new task creation, a user can include many attendees ('Assigned to'). But clicking on 'Save' button should trigger multiple tasks creation (one per attendee). All ...
0
votes
0answers
9 views

Sharepoint online Rest API with JQuery exercise makes Google Chrome become unresponsive

i have a scenario where in i am checking permissions for a given user. I.e user will select a site collection based on that it will fetch his permissions in sites and subsites. I was successful but ...
0
votes
1answer
25 views

How to Hide SharePoint Library Column (after file upload) Based on Conditions, JS JQuery, Multi-Choice Column

I am trying to use js to hide SharePoint Document Library columns based on conditions. Using SP 2010. I was able to hide drop-down columns based on an initial dro-down column value thanks to a former ...
0
votes
1answer
19 views

Need JQuery to Add a (None) or blank value to SharePoint Lookup Column

I have a Lookup column to another list but I need to display a "Blank" value or a "None" as the first item in the dropdown. The column must remain "Required". Does anyone have a JQuery example of ...
0
votes
0answers
11 views

SP 2013 JQuery: Add headers in form using JQ

My request is to amend the 1st code to target the exact field name instead of using "contains". The 2nd code (different purpose) finds the exact field name. And, no I cannot use SPD. I need to use ...
0
votes
1answer
19 views

Change one SharePoint site link in the Global Navigation redirect to another site for all users except one

For example, a site in the global navigation, when clicked should redirect to another site for all users except one. Also, users who have saved the site as bookmarks should be redirected too when they ...
0
votes
0answers
7 views

.aspx page displaying “Hello” + Userid

I have copied some code from an example and when placed in a content editor, it actually works! but when i put it in my .aspx page, it does not. I get the error "userid is not defined" I believe I am ...
0
votes
2answers
30 views

Trouble conditionally hiding fields in SharePoint 2013 custom list

I have a custom list in SP 2013 where I need to conditionally show/hide fields in the list based on responses to other fields in the list. I'm so close to figuring it out, but it's not been easy. I've ...
0
votes
1answer
21 views

Pagination in SharePoint Rest API

We have to load records into page using REST API and to show 5 records per screen. So we want to have Prev and Next buttons so that user can navigate backward and front as loading of all records at a ...
0
votes
1answer
20 views

In a SPFx Web Part, how can I extend JQuery with TypeScript?

In order for a JQuery plugin called sliderkit to work I had to add a property in JQuery's interface. I've added one line in it: interface JQuery<TElement = HTMLElement> extends Iterable<...
0
votes
1answer
19 views

SP 2013: Display Field Name & Value in two places on Edit Form

I have a very long form and I need to leave a field [Field1] at the bottom of the Edit Form but display the name and value towards the top of the edit form. Can Jquery get the field name and value ...
0
votes
1answer
21 views

SP 2013: Highlight Row if Field Value is empty

I need a script to highlight rows in a SP 2013 List if one field is null/empty. Any help is appreciated! Field: [Date Funded] Thanks-
0
votes
1answer
27 views

Sharepoint Datatable with export option in excel pdf and csv

I have created a list in sharepoint and trying to load in datatable using rest api with search and export option to tranfer in excel file for download. kindly help.
1
vote
1answer
44 views

How to use jQuery plugins in typescript?

OK, I've seen many people struggling and different approaches on how to do this but I've been cracking my head and can't get it done. I need to implement this photo gallery in a SPFx web part and use ...
0
votes
2answers
15 views

Navigation Tabs, Adding the Active Class

I have written some horrible jQuery code (as I am new to JS). I have four buttons, when i click one it will add the active class which changes the background colour on the tab i have just clicked. It ...
0
votes
1answer
12 views

SP2016: How can I add visit counter for documents?

My SharePoint site has anonymous access and extended for internet. I want to stroe anonymous number of visits for each document (such as Images, Videos, and etc.) and show to all anonymous visitors. ...
0
votes
1answer
15 views

SharePoint Project Management System

Unfortunately I have no code yet but I feel like this is the best place to ask the question to decide which approach to go down next. I want to build a project management system. Currently a user can ...
0
votes
0answers
28 views

Rest Api Post call in one site collection inside a SharePoint Web Application doesn't work

I have a rest API post-call program to create new items in a SharePoint list. This code works fine in every site collection except one site collection. I am scratching my head without any answer. ...
0
votes
1answer
20 views

How can i get status of workflow via rest api - whant to know when its completed,failed etc

Is there a way i can get the status of my running workflow for a particular record? I; working on a form that has a submit button and would like to enable it only when the status of the workflow is ...
0
votes
2answers
16 views

Showing and Hiding fields based on the values of other fields

I'm trying to hide or show fields in a form based on the values selected in another. I cam across this blog: https://spgeeks.devoworx.com/show-hide-fields-based-on-choice-field-selection-using-jquery-...
0
votes
1answer
22 views

How can I disable back button when form loads in Edit mode

I have a page(an edit form) i would like to disable the back browser button when the page is loaded. But i can't get it to work. I tried something like this window.history.forward(); ...
0
votes
0answers
9 views

SharePoint List consolidate and send an email based on Ticket Assigned to the user

I'm having a list of 90 lists in the SharePoint site, which is for ticket management. So in the user of each list will be assigned tickets. My requirement is to consolidate all 90 lists and send an ...
0
votes
2answers
30 views

Use JQuery to customize suitebar in Sharepoint 2016

I'm trying to customize the Sharepoint 2016 suite bar so that the username is displayed at the immediate top left (instead of far right) as well as remove "My Personal Settings" from menu dropdown. ...
0
votes
1answer
28 views

JQuery to Loop Through List's Item Version History. Extract Version No., Modified (date), and Modified By (person/user)

I am trying to find a method to open every list Item's version history, get the Version No., Modified dateTime, and Modified By, and then aggregate it into a master csv. I need to aggregate every ...
1
vote
1answer
67 views

jQuery working in IE, but not in Chrome/Edge

I've been trying to fix this bug for more than 10 hours, but I just can't figure out how to fix it. When using Internet Explorer 11, I don't get this bug, when using Edge or Chrome I get it. If I ...
0
votes
1answer
19 views

How to select multiple values in dropdowns in datatable for Sharepoint 13 list?

I have a list in SharePoint 13. The list is customized using Data table.Currently I have three filters with dropdown option. I want to select multiple option in the dropdown and show the result in the ...
1
vote
1answer
17 views

Few items in SharePoint list are not auto-populating in search bar

I'm using a SharePoint 2013 site, in which one of the page has a search bar(which has 'autocomplete' feature). The values from the SharePoint list needs to be populated as soon as a character is typed ...
0
votes
1answer
30 views

SharePoint 2013 JQuery: Set text field to choice field selection and prepend with timestamp

I need Jquery to set a text field to the selection made in a choice field and add a date time stamp . Example 1: Choice1: selected option = Blue Result in TextField: mm/dd/yyyy: Choice1 changed to ...
0
votes
1answer
37 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
12 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
13 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
31 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
23 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
20 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
24 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
48 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
20 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
24 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
23 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
50 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
36 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
306 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
173 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
66 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
144 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
89 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://...

1
2 3 4 5
40