Skip to main content

Questions tagged [jquery]

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

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

Open another sharepoint page onclick on Modal PopUp

I would like to open another page by click on the button from Landing page, I have followed the below suggestion. Looks like it only works on 2013 but not on sharepoint online. I am adding this script ...
striker92's user avatar
  • 115
1 vote
1 answer
33 views

SP2019: jQuery to Disable Mult Lines of Text Field_Plain Text

I have tried almost every permutation of jQuery to disable a multi line text field (plain text) named [Client]. Same internal name as display name. The 4 lines below have been tried one a time with ...
ChasEpes's user avatar
  • 123
0 votes
0 answers
39 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 ...
Sabry's user avatar
  • 1
1 vote
1 answer
78 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.
Keit Eigla's user avatar
1 vote
1 answer
32 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){...
Rogerb's user avatar
  • 21
0 votes
1 answer
149 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 ...
RWeaverAMT's user avatar
0 votes
0 answers
39 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 ...
charudath nandan's user avatar
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 ...
user388969's user avatar
1 vote
1 answer
94 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 ...
Aparna Sunil's user avatar
0 votes
1 answer
264 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/...
Kajal's user avatar
  • 19
1 vote
1 answer
1k 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, ...
Naama Frank's user avatar
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 ...
Douglas Filipe's user avatar
0 votes
0 answers
57 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 ...
Swetha's user avatar
  • 399
0 votes
1 answer
140 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 ...
Swetha's user avatar
  • 399
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. $(...
Ghoztrider's user avatar
1 vote
1 answer
924 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 ...
Matthias's user avatar
1 vote
1 answer
137 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 ...
Patti N's user avatar
  • 23
0 votes
1 answer
136 views

Jquery .load() not working properly

I am building a react spfx solution that looks like a website. It has a nav bar. The navbar is actually links to the site pages in the same site. What I need is load the contents from "...
Treesa's user avatar
  • 101
1 vote
1 answer
738 views

How to combine two SharePoint columns into one datatable column?

I have a datatable that I want to show the information from my SharePoint List. The table has three headers: Name, Department and Address. The Address column should combine two SharePoint columns(...
soh's user avatar
  • 23
0 votes
1 answer
179 views

How to make a List Item Read Only in Quick Edit Mode? SP2013/SP2016 on premise

I want to make a list item read only for a certain group when one of it's column has a value of "Completed". I want to achieve it through jquery and server side code.
Awais Korai's user avatar
0 votes
2 answers
181 views

Which columns are being returned from an AJAX call?

I know the names of some columns - FirstName, LastName, JobTitle, SAMAccountName, Department that an API serves out but I would like to know all the columns that are returned. How do I find out the ...
Pete Whelan's user avatar
1 vote
0 answers
62 views

SharePoint Designer 2013: Including Javascript Code

I'm trying to include the following code into SharePoint Designer on a web page. How can I best do this? When I copy-paste, no results show. The site below mentions using a content editor web part, ...
user18172595's user avatar
0 votes
1 answer
124 views

Sharepoint on premise 2019 - pass query string parameter to page title

I am looking for help with displaying the query string parameter on the page, column: project leads URL with Query string: https://xxxxxxxxxxxxxx/IAS_Projects/SitePages/by%20User.aspx?projectleads=joe%...
marco's user avatar
  • 47
1 vote
1 answer
386 views

Enable dropdown based on another dropdown value in sharepoint 2016 [closed]

I have a dropdown: id="dropdown2" that is disabled upon loading the form. I want it to be enabled when I select a specific value in another dropdown: id="dropdown1". This is my ...
eito_66's user avatar
  • 13
0 votes
1 answer
485 views

HTML Table for Column Description?

Is it possible to insert a small HTML table for the column descriptions. I have a bunch of acronyms that I use the description to have the definition of what they represent, and instead of having them ...
BeerusDev's user avatar
  • 113
1 vote
1 answer
211 views

Org Chart not working for People pIcker

Reference of plugin https://www.jqueryscript.net/demo/Fully-Customizable-Organisational-Chart-Plugin-With-jQuery-OrgChart/ I am using List schema as TeamMember(PeoplePicker),FunctionalManager(...
kumar's user avatar
  • 139
0 votes
1 answer
379 views

Adding a new item in the SharePoint list with multiple fields

My objective is to add a new item in a SharePoint list (Form) using REST API. My current code is: function AddData() { var listName = "Form"; CreateListItemWithDetails(listName, ...
Keshav Sharma's user avatar
0 votes
0 answers
50 views

quick edit mode direction in SharePoint list view by jQuery

I need change direction of quick edit mode in SharePoint list view, try in change in jQuery does not apply because of template JavaScript of share point that occur after clicking for editing fields. ...
Amir's user avatar
  • 1
0 votes
0 answers
84 views

Call all unique Values from SPO List, threshold exceeded, into a drop down field

I have a custom table with drop down field, it need to show all unique value from a SharePoint online list. The problem is it already exceeded the 5000 limit threshold. And upon my query, it is only ...
cjs's user avatar
  • 1,214
1 vote
1 answer
497 views

I'm trying to run a javascript script through the script editor in sharepoint online, but nothing happens

In the script editor I have this code to disable some buttons: <script> document.getElementById(id="Status_c15b34c3-ce7d-490a-b133-3f4de8801b76_$DropDownChoice_Aprovado").disabled = ...
Odelam Sá Dias de Souza's user avatar
0 votes
0 answers
102 views

Trying to upload the date type from excel to SharePoint list column

I am trying to upload date column value in SharePoint list column of "date and time" type. The below image of excel data: The "Date of Commissioning" value upload in SharePoint ...
Shreya's user avatar
  • 55
1 vote
1 answer
888 views

jQuery Ajax Unauthorized error on POST

Trying to create my first web part for SharePoint online that writes to a list. But when I do a post using jQuery ajax I receive an Unauthorized error. Any help you be greatly appreciated. I am ...
FenrirZA's user avatar
0 votes
1 answer
305 views

Trying to upload document in "Attachment" column of SharePoint list

I am trying to upload document in "Attachment" column of SharePoint list. I am able to upload the document but not view the document. The SharePoint list is given below image:- When I am ...
Shreya's user avatar
  • 55
1 vote
1 answer
106 views

Issues with links with url parameters in Sharepoint modern UI( I have to click link twice)

I'm using the modern script editor. What i'm experiencing is if i use the below <div><a href="/sites/Mysite/SitePages/People.aspx">People</a></div> it works But when ...
naijacoder's user avatar
  • 4,308
0 votes
2 answers
178 views

AJAX Data From SharePoint List Not Carrying Over to Next Function

I have created fiddle with mock sample data that is formatted the same way as the AJAX response data. When I try to implement my script into a SharePoint script editor and debug it, it tells me that ...
BeerusDev's user avatar
  • 113
0 votes
1 answer
363 views

jQuery Datatable not loading - SPFX Application Customizer

I'm trying to migrate jQuery Datatable from On Prem 2013 to online, I'm gonna create SPFX application extension, where I insert the scripts in order, still datatable is undefined. $.fn.dataTable is ...
Arun's user avatar
  • 123
0 votes
1 answer
301 views

How to join the multi row value in single row of SharePoint list

I would like to submit the multiple line item value in single row of SharePoint list. The result of the actual submitted value in SharePoint list is shown below image:- If the column value is equal ...
Shreya's user avatar
  • 55
2 votes
1 answer
898 views

I am trying to get the choice type field value in select tag from SharePoint list

I am trying to get the choice field value in select tag from SharePoint list. Here, the code is given below: function GetphysicalVertual() { var defPG = $.Deferred(); var inputElement; $....
Shreya's user avatar
  • 55
0 votes
2 answers
59 views

SPUtility not work in SP2016 survey

I am trying to customize a survey form using SPUtility. My survey form only have 1 field named "Event". I tried to pre-fill the field "Event" but in console it is returning: Unable ...
Mark L's user avatar
  • 4,075
0 votes
1 answer
1k views

How to get list of folders data from SharePoint List using Javascript?

Can anyone please help me with that? Suppose my list name is: Country in which I created 5 folders with different country names, then inside that folder I created their state names. So scenario is ...
Sayyed Amir Hussain's user avatar
0 votes
1 answer
2k views

How to remove &ZeroWidthSpace; from wiki pages

I am using SharePoint 2016 wiki library. I have created several pages and they need to have same format. However, in some pages, SharePoint have inserted &ZeroWidthSpace; character at top of page. ...
Mark L's user avatar
  • 4,075
1 vote
1 answer
898 views

Try to download multiple files from SharePoint library on Button click

I am trying to download multiple files from SharePoint library by clicking on Download All button. The image is given below: How can I download all files from SharePoint library on a single click on ...
Shreya's user avatar
  • 55
1 vote
1 answer
519 views

How to prevent SharePoint site page refresh itself when jquery .load is triggered?

I have a simple SharePoint site page (created in Site Page library). I added a simple jquery syntax here: <script> $(function() { $("#button_overview").on("click", function(){...
Mark L's user avatar
  • 4,075
1 vote
0 answers
64 views

Edit and Delete options for each sharepoint list item using query Datatables?

How to use jquery Datatables to add - Edit and Delete options for each sharepoint list item. Please help me with an example.
Amar Singh's user avatar
1 vote
1 answer
575 views

How can I create a new list item in SharePoint with attachments without using jQuery

I am trying to create a SharePoint list item from a HTML file loaded into a SharePoint page. The issue that I am facing is that the business will not allow any external CDN's meaning that any .js code ...
jb12345's user avatar
  • 13
0 votes
1 answer
94 views

Restructure SharePoint Data Structure After $.ajax GET

So I have gotten to the point in one of my projects where I realize it would be so much easier to have a simpler data structure than what I am actually working with. When I get the data with: _api/web/...
BeerusDev's user avatar
  • 113
0 votes
0 answers
26 views

How to Show the Colored status or check icon based on column status (yes/no)

I have Custom List for Visitors and I created some custom columns: Visitor Name Enter Time Check Out Time Check Out Status etc.. Here I want when Status column value changes to Yes (this type is Yes/...
user3520155's user avatar
0 votes
1 answer
23 views

SharePoint online custom list options

We are currently using SP2013 with many custom lists. I have been using JQUERY to build them. My question is what is my options to rebuild the lists in SharePoint online? Can I use JQUERY again?
Harris's user avatar
  • 605
0 votes
1 answer
342 views

Jquery Conditional Formatting - Number Range [closed]

I am using this Jquery script to highlight column based on the item value within. Is it possible to add a numerical range? i.e. 0-50 returns in green. Thanks ​​​​​​​​​<script src="https://ajax....
Daryl's user avatar
  • 127
0 votes
1 answer
250 views

SP2013 List: Trigger JQuery to run with each list view change or to/from Quick Edit mode

I am using a JQuery script in a list (in a Script Editor) to (visually) change a column's name. The internal and display column names remain static. When I switch from normal view to Quick Edit, the ...
ChasEpes's user avatar
  • 123

1
2 3 4 5
41