Questions tagged [jquery]

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

Filter by
Sorted by
Tagged with
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
62 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-
1
vote
1answer
135 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 ...
4
votes
3answers
6k views

Hide/Show columns in Custom List based on dropdown selection

I am trying to hide a column on page load and when a value is selected from a drop-down list, have the hidden dropdown appear. I am able to hide the column but when I choose the value in the drop-down,...
0
votes
2answers
16 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
13 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
16 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 ...
4
votes
1answer
2k views

SPServices $().SPServices.SPFindPeoplePicker not working for required field

I am using SharePoint 2010 and SPServices to get values from people picker in custom field. It is working fine but not fetching data for required fields. can anyone help me with this. var PP = $()....
0
votes
0answers
31 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
115 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
20 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
31 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
1answer
393 views

Unable to grab files inside folders on SharePoint using PnP js

Does anyone have some reference on why I'm unable to pull in files from a folder in SharePoint? This is what I have so far, this will be my PnP js call (I don't I'm not doing something right) <...
0
votes
2answers
81 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
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
1answer
48 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
5answers
4k views

jQuery EditForm redirect to DispForm

I want to redirect user after editing item and pressing save button to item DispForm. I currently have JS code: $( document ).ready(function() { $('input[value=Save]').click(function() { ...
0
votes
1answer
22 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
23 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 ...
10
votes
3answers
28k views

How can I get rid of the columns header when the style 'Boxed' was selected?

I created a new list view with style = 'Boxed' in SP2013. The problem is that this view is showing the columns header in the top when there's no need to do it. So, how can I remove or hide it? I tried ...
0
votes
1answer
40 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 ...
1
vote
1answer
641 views

Disable drag and drop option for multiple file uploader

These are the screenshots of multiple file uploader from the same SharePoint 2010 site. Some users are seeing the first and some are seeing the second one. Is it possible to disable the second view(...
0
votes
2answers
670 views

Choices.Add with JQuery

I am using JQUery to fill a DropDownChoice dynamically, depending on a custom DropDown menu earlier. However, if I just add the entries by <option value="1">Option X</option> I can't ...
0
votes
1answer
57 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
13 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 ...
2
votes
1answer
1k views

Redirect to thank you page after submitting survey

I'm using sharepoint 2013.I created a survey using the survey app. I added a web part script to the survey. I tried to redirect to a thank you page after clicking the finish button on my survey. It ...
0
votes
0answers
18 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
2answers
3k views

How to add a Scroll to Top button on welcome page with web part zone?

I want the scroll to top button at the bottom right corner of the page but not within a web part zone. I'm not very good at html either and have found sources that kinda help me but they all mention ...
1
vote
1answer
73 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
84 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
24 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
678 views

fire change event on a multiline text box (enhanced rich text) in SharePoint using jquery

I have a list (MyList) with some columns. It also contains a column (Mydesc) which is a multiline text box having enhanced rich text. Now in the edit form I have to check whether any change occurs in ...
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
83 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
23 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
26 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
25 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
101 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
27 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
2answers
1k 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 ...
1
vote
0answers
92 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 ...
0
votes
2answers
752 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 ...
1
vote
5answers
3k views

Disable column header filter and sorting

I am using SP2013 on-premise. On a list view all the columns' header come with a filter+sorter function. It is not useful on some columns (e.g. photo, which show a picture and no point to sort, and ...
0
votes
1answer
166 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 ...
2
votes
1answer
741 views

Show external links without Addressbar and open in modal view

Environment: SharePoint 2013 Is it possible using Jquery to show an external link within SharePoint. Wherein user clicks and it opens the external link in modal view with no address bar, so user ...
0
votes
1answer
452 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
3answers
732 views

Expand all groups on page load via jQuery

We have this code to do a "+" / "-" button to expand or collapse all groups. <script type="text/javascript"> function expandAll() { $("img.ms-commentexpand-icon").click(); } ...
0
votes
0answers
289 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
36 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 ...
1
vote
1answer
666 views

JQuery Hover not Working in SharePoint 2013 Calendar list

I used following URL for loading all resources item in SharePoint 2013 Calendar List and Its working fine as per my expectation. http://blogs.technet.com/b/meamcs/archive/2013/04/10/sharepoint-group-...

1 2 3
4
5
41