Questions tagged [jquery]

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

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

Sharepoint 2013-File getting downloaded before ModalDialog opens

I am trying to create a modal dialog on click of a hyperlink file column(SharePoint 2013).I am able to open the Modal dialog in an Iframe But it's happening only after the file download. I don't want ...
0
votes
0answers
9 views

Chosen Single Selected Search Box in SharePoint Online

What do I do if I want to make Choose Single Selected in SharePoint Online?? Because, some time ago I made the same case as now. but the script doesn't work properly. Follow my Script: But this my ...
0
votes
0answers
17 views

Dynamically Updating SharePoint Page based on List Dropdown

I have some SharePoint Wiki Pages, and these pages contains few steps for a process. Based on the environment (Dev/QA/Prod) These process have a change in system names, while the steps remain the same....
0
votes
0answers
22 views

jQuery console loads twice in SharePoint

I am having issues with this jQuery code. I don't understand why my function runs twice. 'dosomething' and data shows up twice in the console and i'm not sure why. Please help. $(document).ready(...
0
votes
0answers
22 views

Document column filed need to update from existing list on the SharePoint 2013

SharePoint Developer experts, We have one document library and one List on SharePoint 2013. List name as "Policy" and Document library name as "Process documents". On list, we have ...
0
votes
0answers
6 views

Checking/Ticking Checkboxes from ID in array

Everytime a checkbox with the class "thischeck" is checked, i push the id of that checkbox to an array. I then switch tabs and when i switch tabs, my checked boxes disappear, I want the ...
0
votes
0answers
15 views

unable to get treeview dropdown in classic site

we are facing issue with N level tree view drop-down while getting dynamic data form list using 2 columns data in classic share point site. 1.column is parent 2.column self lookup column to parent ...
1
vote
2answers
25 views

jQuery hiding column based on another column's value

I've successfully used the following script in NewForm.aspx to hide a column 'Date SharePoint checked' when another column 'Check SharePoint?' is set to 'No'. When I open the same list item in ...
0
votes
1answer
43 views

Append current page URL as redirect to new item link

I am using SP2013 on premise. I have 3 lists: Projects Requirements Issues. Lists 2 & 3 have been added to List 1 DispForm.aspx and a lookup column and query string filter links them so that ...
0
votes
0answers
10 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
35 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
23 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
12 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
11 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
27 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
21 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
20 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
22 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
25 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
32 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
49 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
29 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
29 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
17 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
38 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
31 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
130 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
38 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
36 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
30 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
52 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
21 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 ...

1
2 3 4 5
40