Questions tagged [jquery]

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

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

I am trying to submit datatable value in sharepoint list [closed]

I am trying to submit the data-table checked row value in SharePoint list. Image is given below that i want to do:- 1- User select the row by checked the checkbox. 2- After checked the requestor ...
2
votes
1answer
55 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
2answers
12 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
1answer
21 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
1answer
36 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
1answer
39 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
1answer
20 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
0answers
14 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
1answer
23 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
1answer
48 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
0answers
19 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
0answers
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
0answers
14 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
0answers
22 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
0answers
9 views

Jquery DataTable not rendering on Provider Hosted App

We are trying to display data from SharePoint to a datatable EmployeeDetails , However the table does not render completely as shown below Below is the HTML Code <html> <head> <...
0
votes
1answer
15 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
0answers
13 views

SP2013 - Start Workflow from Button with redirect

The title says it all. Functional needs are simple. User selects an item from the list, we are then using (no InfoPath) a custom WebPart using jQuery to build item's page. There needs to be a ...
0
votes
1answer
19 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
1answer
22 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
1answer
64 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 ...
0
votes
0answers
12 views

develop an excel report

Trying to make a report builder page with some filters and export button. In this approach the button will run the query directly from the various list and fetch out the detail in the excel in desired ...
0
votes
0answers
7 views

SP2013: Dynamically Rename Column Headers. Advance one month based on CurrentMonth

I am looking for Jquery or other code that would enable me to dynamically rename several column headers based on a value in one [CurrentMonth] column. I need the renamed column header to advance one ...
1
vote
1answer
57 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!
0
votes
0answers
7 views

Dynamic folder/img in SP2013 table

The basic idea is I am using jQuery to get the details and display name for a custom layout. I had posted a few weeks back asking how to concatenate a display name and then take that field and wrap it ...
0
votes
0answers
6 views

How to store content of redirected page into a popup form

This is my Webpart in Sharepoint workbench Clicking on the Task-name , redirected to the new page with default pop-up Form This is my redirected page with default pop-up form Is there anyway to show ...
0
votes
1answer
39 views

Request next available item from sharepoint list with jquery

I have a sharepoint list with two columns, one with one time codes and the other one is yes/no Like this: CODE USED NGTHX–EVLRZ–GHTXD Yes RYKXB–EOMWD–FZUWL No DKTUN–YSCWP–PHKWM No So what I'm ...
0
votes
0answers
11 views

Concatenating List Item to create link

Maybe this has been answered in a different thread, but I cannot seem to find it. I have also been asking in other forums, with little success and being new to SP, I need some guidance. I have a ...
0
votes
0answers
26 views

How to update JQuery version in SharePoint Site Assests folder

I am working on SharPoint 2013 onPerm. We have old JQuery 1.1 installed on the Site Assets folder. We were told by our Network admins to upgrade the new version of JQuery. So what is the best practice ...
0
votes
0answers
9 views

Adding Dynamic value to the table data in sharepoint framework

I am adding dynamic data to the table through graph api call into the webpart except in the Assigned To table heading I want to fetch the value for Assigned To through another graph api call How can i ...
0
votes
1answer
16 views

SharePoint REST and DataTables.net (SP2013) Select Items

I had opened this thread in an other area of StackExchange, but then I found the SharePoint area, sorry for the duplicates. I am fairly new to SP and we are still using an old version, so looking for ...
0
votes
1answer
19 views

Set List Item Default to Edit Form

We are using some Javascript customizations for SharePoint list items. My boss does not like the fact that we have three forms to choose from (edit, new, and display) and wants the user to be able to ...
0
votes
2answers
41 views

Select all checkboxes depending on parent checkbox in SharePoint server 2016 on premise

I have a document library in SharePoint 2016 on-prem. The document library has a content type with columns that the user needs to complete when the user uploads a document. Since you cannot edit the ...
0
votes
1answer
37 views

Tree-hierarchy for 3 sharepoint lists using the https://gijgo.com/tree .. any help please

I have the below 3 SharePoint lists, and using the REST APIs i am getting the data as follow:- 1- List named named "Department", here is the json for the items "value":[ {"...
0
votes
2answers
66 views

Exception in String type error on SPFX with JQuery

I really need help to resolve Type error encountered on this function in SPFX with jQuery. Here is the function, The return statement is failing: var addFile = function (fileTitle, fileName, fileType, ...
0
votes
0answers
55 views

Iterate nested array of objects and append children to a particular object using jQuery/React

Iterate nested array of JSON objects and append children to a particular object using jQuery/React We are trying to create a tree view navigation using PnP react TreeView control for SharePoint ...
0
votes
2answers
41 views

Use Rest API to return link from sharepoint list

I'm trying to use REST API in SharePoint to getlistitems to display the link from a hyperlink field from my sharepoint list. I AM successfully using the code to display the title field - but NOT the ...
0
votes
3answers
215 views

jQuery is not defined in SPFx extension

I have created SPFx extension (not a webpart, in case it makes any difference) and trying to add jQuery but its not doing it. I have installed it into package with npm install --save @types/jquery ...
1
vote
1answer
1k views

How to trigger enter key programmatically in search box of SharePoint 2019 library using jQuery

I have tried below code: Set the value in search text box jQuery("#inplaceSearchDiv_WPQ2_lsinput").val("med"); Trigger Enter key: var e = jQuery.Event("keypress"); e....
1
vote
2answers
49 views

How to Redirect when clicking “Save” in NewForm.aspx

After a user clicks "Save" on a NewForm.aspx, I want to redirect the user to a "ThankYou.aspx" page instead of the "AllItems.aspx" page. Without writing a custom form and ...
0
votes
1answer
26 views

How to hide/show <div> after NewForm.aspx saves data in Sharepoint 2016

After a user clicks "Save" on NewForm.aspx, I'd like to show/hide a div tag with a message instead of returning the user to the list showing all the responses. My tags are below, but I ...
0
votes
1answer
30 views

How to “hide” a dropdown/lookup field in NewForm.aspx

I'm trying to hide a dropdown field in my SharePoint 2013 NewForm.aspx page. I figured out how to hide text boxes by adding the following code snippet for a text box called "Name". However,...
1
vote
1answer
44 views

How to Show/Hide multiple column fields based on dropdown selection - SharePoint

I am using a SharePoint list in which we are using multiple columns covering different process steps to be filled based on a dropdown selection. The steps are different depending on the mission ...
1
vote
2answers
49 views

Sharepoint list: Unable to populate field using variable value

I am trying to populate the list column with calculated value in code below. While the alert & messages show the value being assigned to variable correctly but somehow field is not getting ...
0
votes
1answer
47 views

Particles.JS Background for Body of SharePoint Page

I have created this particles.js script that I want to use for one of my SharePoint pages, but I am unsure of how to get it to insert to cover the whole background. I tried inputting it as a a script ...
1
vote
1answer
22 views

Filter data based on Taxonomy value [closed]

I am building a search web part in which, I am filtering the data from the SharePoint document library based on the value in the skillset column. It is a managed metadata column. Below is the ...
0
votes
1answer
127 views

Auto populate SharePoint People Picker with a user ID in a custom form

I have a couple of people pickers in my custom HTML form in SharePoint 2013. I am trying to auto-populate them with a user. I have the user id numbers like "890", "7789" <tr>...
0
votes
1answer
20 views

SP2013: Disable text or number field once populated

I am looking for a jQuery script to conditionally disable two field types: Disable a text field if it is not blank and Disable a number field once it is non zero. I see many posts on disabling ...
0
votes
1answer
100 views

Conditional table cell background color depending on value

I have a HTML table that I'm trying to change the cell background color to red depending on the value of the cell. Each cell will have a different threshold for when red is needed (one cell might be &...
0
votes
1answer
30 views

Rearrange fields in New Item form with jQuery

I'm attempting to use jQuery to relocate fields on a list's New Item form. I want some of the text and checkbox fields to appear between radio selections. I created and edited a customer New Item form ...
0
votes
0answers
143 views

Change date and time entered by user to different timezone in React Sharepoint SPFx

I am trying to change date entered by user to different timezone. Right now it only for default value. But I want to change the date which will be entered by user in React Sharepoint Framework SPFx &...

1
2 3 4 5
41