Questions tagged [jquery]
An open-source, cross-platform JavaScript library, now endorsed by Microsoft
2,042
questions
0
votes
0
answers
24
views
How to show column based on the certain radio button value selected
our company just upgraded our Classic SharePoint to 2016 and currently I'm working on the SharePoint workflow for approval. I have 2 questions?
1.) Post upgrade, I noticed all of the scripts that ...
1
vote
1
answer
62
views
Change the text color only on specific numbers in column
A little help please! I created a SharePoint list with company contacts and I want in column 'length of service' the numbers 5, 10, 15, 20 etc. years to be marked a different color, for example red.
1
vote
1
answer
25
views
Update File Name with jQuery in Edit Form
I am trying to change the name of a file in a list edit form depending on a value selected in a lookup column.
nCName = $("input[title^='Name']")
function UpdateDocumentName(selectedOption){...
0
votes
1
answer
125
views
Using Script Editor and/or Content Editor Web Parts Alongside an Infopath Form?
First some info about the system I'm working in:
Sharepoint Server 2013 on-premise
Sharepoint Designer 2013
Infopath Designer
No access to Power Apps
I'm new to Sharepoint. I also know very, very ...
0
votes
0
answers
36
views
Jquery Encryption for SharePoint list view for all the fields in Email column, where as it is getting applied for one row in Title column as well
I'm using a below script in SharePoint all items aspx for Encrypting email column values, where it is also getting applied to one row in Title column. how to achieve this by not to encrypt the first ...
0
votes
1
answer
1k
views
Add user to SharePoint group using rest api not working
I am trying to add a user to the SharePoint group from the REST API in SharePoint 2013.
It says successfully added but never adds the user
function addUserToGroup(userloginname) {
var ...
1
vote
1
answer
74
views
SharePoint Online Display All Options in a Choice Field In A Custom Page
Is there a way to fetch all the Choice Options of a Choice Field created in a SharePoint Online List and to display in a custom SharePoint Page(Inside Pages Library/Site Pages)?(Without the help of ...
0
votes
1
answer
231
views
How to get Document ID by using encoded edit link of that document using rest api in sharepoint online
How to get Document ID by using encoded edit link of that document using REST API in SharePoint online?
Link of site /:b:/s/SiteName/EZMojxE1NqNGgMljzTBZSSoBYOzeQJoW48yYm7WWBwUZcw
I am trying:
/_api/...
1
vote
1
answer
953
views
A type named ... could not be resolved by the model - but code is fine
I am trying to add an item to a SharePoint list synchronously. but I get the error
"A type named 'SP.Data.QAReadAndSignListItem' could not be resolved by the model. When a model is available, ...
1
vote
1
answer
43
views
Alternate data result SPFX
Hi all I'm trying to build an spfx webpart for project server 2019 (on prem)... Everything it was working good, I used this css but now I faced an interesting question, css have two elements container ...
0
votes
0
answers
55
views
Call "datepicker()" more than once on one datepicker field using jquery
I have two datepicker functions called on same datepicker field.
First part of code disables all days except thursdays and sets Max selectable days to 60 and minimum selectable date to 1.
In the ...
0
votes
1
answer
98
views
Error:$("#id").datepicker() is not a function jquery in sharepoint 2013 list New form
I have a requirement to disable dates(entire week of Thanks giving day) in date picker control.Its a sharepoint date time control.I am facing error :"$("#control id").datepicker() is ...
0
votes
1
answer
2k
views
Getting "Uncaught TypeError: Cannot read properties of undefined (reading 'href')" error on SharePoint 2010 form load
When opening a SharePoint 2010 form in modal mode I get the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'href')
See code below for usage and troubleshooting.
$(...
1
vote
1
answer
874
views
How to retrieve a specific item with SPFx and Query in the React Framework SharePoint Online
I would like to get a specific item by ID. I'm really stuck how I can retrieve this item.
I called the list and tried to save it in an object and then should in the render() function.
Here is my code ...
1
vote
1
answer
131
views
Hide Multiple Choice field with jQuery
I have a field in an SP 2016 form that looks like this:
I'm trying to hide the row that the multi choice field is in. I've tried multiple things.
#1 doesn't work at all. #2 hides the check boxes but ...