Questions tagged [jquery]
An open-source, cross-platform JavaScript library, now endorsed by Microsoft
2,042
questions
0
votes
0
answers
6
views
SharePoint 2013 - how to create a button that on click loads a modal with a second list pre-filtered where ID=@ID
Anyone have a script or function that would allow a on click to load a second sharepoint list into a modal pre-filtered based on current item's ID?
0
votes
0
answers
17
views
Getting SharePoint access token - The resource from “” was blocked due to MIME type (“text/html”) mismatch
I was able to get SP access token with Postman, but I am not able to do the same with javascript (jquery).
Postman call:
Then, I copied the javascript code that postman generated and pasted it in ...
0
votes
1
answer
8
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 "...
1
vote
1
answer
17
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(...
0
votes
0
answers
10
views
SharePoint 2016 - Created Start/End filter columns, but recurring events aren’t working. calculated fields only stamp the first & last event day/times
So I have set up four Calendar Views and four corresponding Overlays to display three colors based on filters:
Scheduled Tasks: Category of “Scheduled Task” w/ Blue Overlay color
Current Tasks: ...
0
votes
0
answers
28
views
How to read and show documents with folder name using rest api in sharepoint
I am creating a ui where user will toggle through document library from left navigation using below article as my reference
https://stackoverflow.com/questions/65108878/dynamically-fetch-sharepoint-...
0
votes
1
answer
23
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.
0
votes
2
answers
15
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 ...
0
votes
0
answers
29
views
Marquee like announcement in SharePoint
I am writing below code to make marquee like structure but it is not working can anyone help where it going wrong , it only show news no marquee
<script src="https://ajax.googleapis.com/ajax/...
0
votes
0
answers
9
views
Summary link web part Modal for individual item? (SP 2016)
I am trying to create a modal popup for a summary web part on SharePoint. The following code below works, but I want to only have a modal box for certain items in the list and not every single item. ...
1
vote
0
answers
15
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, ...
0
votes
0
answers
14
views
Hiding List columns and information with CSS or Javascript
I want to hide with CSS or JavaScript a column in sharepoint the header and the information below it. Specifically the column of created and modified by. I want to hide it even if those columns are ...
0
votes
1
answer
19
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%...
0
votes
0
answers
17
views
Using ckEditor in PropertyFieldCollectionData from pnp
I'm having some issues with ckeditor library in react webpart for sharepoint online. When i try to insert link in the ckeditor, it doesn't work. I've achieved to show the input to enter the link at ...
1
vote
1
answer
29
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 ...
0
votes
1
answer
44
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 ...
1
vote
1
answer
120
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(...
0
votes
1
answer
22
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, ...
0
votes
0
answers
20
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.
...
0
votes
0
answers
22
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 ...
0
votes
0
answers
4
views
SharePoint SP Services error
I am getting an error - $(...).SPServices is not a function at AddListItem - with the below code. I have referenced the SPservices js correctly
function AddPoints() {
$().SPServices({
...
0
votes
0
answers
98
views
SharePoint Online REST API using jQuery Ajax POST not working
I am using this code to POST into a SharePoint list. The code goes into the success function, but does not create a new item in the list.
Can anyone help?
function AddPoints(ID,Points) {
var data =...
0
votes
0
answers
10
views
jQuery in SPFx web part - slideup and slidedown are very 'juddery'
I do a simple show/hide on an element in an SPFx web part which works fine with this ...
document.getElementById("a-" + rowNum).style.display = "none";
However if I try this ...
...
1
vote
1
answer
74
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 = ...
0
votes
0
answers
26
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 ...
0
votes
0
answers
13
views
I am trying update RequestId column in SharePoint list of multiple created item
I am trying to bulk upload the data from excel to SharePoint list on button click.
The image is given below:-
When we click on the "Insert" button. The data will save in the SharePoint list ...
1
vote
1
answer
108
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 ...
0
votes
1
answer
19
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 ...
1
vote
1
answer
17
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 ...
0
votes
2
answers
32
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 ...
0
votes
1
answer
138
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 ...
0
votes
1
answer
33
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 ...
2
votes
1
answer
161
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;
$....
0
votes
2
answers
23
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 ...
0
votes
1
answer
152
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 ...
0
votes
1
answer
484
views
How to remove ​ 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 ​ character at top of page. ...
1
vote
1
answer
201
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 ...
1
vote
1
answer
30
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(){...
1
vote
0
answers
23
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.
1
vote
1
answer
168
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 ...
0
votes
1
answer
54
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/...
0
votes
0
answers
22
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/...
0
votes
0
answers
17
views
How to cache the error if site assets were restricted to the particular group in SharePoint
I have removed permissions to the site assets library to a particular permission group of users. Now when I log in with those permission group users CSS was not calling and UI was distracted ...
0
votes
0
answers
21
views
How to get data from multiple SharePoint list in HTML table without lookup column
I want to get data from multiple SharePoint List in single html table without lookup column.
and I have no idea how to do it. Please help me.
0
votes
0
answers
73
views
Sharepoint People Picker with Bootstrap
I am converting an input field into people picker in sharepoint (Project Online). to convert the control into bootstrap one. i have assigned a class "form-control" to it. and i could ...
0
votes
1
answer
16
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?
0
votes
1
answer
99
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....
0
votes
1
answer
72
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 ...
1
vote
1
answer
305
views
DevExpress Custom Store to get data from REST API
I'm trying to create a drop down menu using DexExpress in jQuery with SharePoint REST API. I get the values from the REST call in the console, but I'm having issues trying to display these values in ...
1
vote
1
answer
73
views
SP2013 List: Hide Total of ms-gb. Show Total of ms-gb2
In a SP2013 List that is grouped by field 1 and then field 2, I need css or jquery help to hide the column totals at the first .ms-gb level but show the totals at the .ms-gb2 level.
Thank you!