Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [jquery]

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

0
votes
0answers
12 views

Jquery Validation Plugin Error This[0] is undefined - Sharepoint Online Add-in Development

I'm development a Sharepoint Hosted Add-in in Sharepoint Online tenant. I'm using Jquery and Jquery Validation to make form validation, but I have a issue with JQuery Validation because of get error ...
0
votes
1answer
16 views

How to change new item text and href for list web part?

I have a list web part on a page and want to change the text, and href, from the standard new item text to something custom. I can successfully get the (+) new item text with the following: var x = $...
0
votes
0answers
19 views

How to show multiple images in a column of jquery datatable? [on hold]

I am using this code to return image: { "mData":"ImageName", render: function(mData) { var img = mData; return '<img src="'+v0+img+'" style=...
0
votes
0answers
10 views

Page doesn't scroll when select2 is used in sharepoint 2016

0 I am new to sharepoint and using sharepoint 2016, in which I want to use select2 jquery plugin for dropdown list. Since sharepoint is a cms, I can't give specific class and id to the select field. ...
0
votes
2answers
30 views

SharePoint Custom Webpage/Part Not Consistently Loading

I hope this is the right place I have been in a role within my organization working with SharePoint for a couple of months now, so i'm a newb more or less. I have some experience (again a novice) ...
0
votes
1answer
30 views

Retrieve users info with js and sharepoint

I am facing following issue: I need to retrieve users from the whole domain not just siteusers list at sharepoint so that can can manipulate them and for example add them to sharepoint groups. I ...
0
votes
1answer
28 views

Freeze First Column of Sharepoint online List view using Jquery/javascript [duplicate]

i want to fix first column (ex: Title column) of my sharepoint list view, so that whenever the user scroll horizontally the first column should be fixed. Thanks in advance for your support.
0
votes
1answer
14 views

Only Showing Timeline in Task List

I know how and find many ways how to hide the timeline from the task list but I don't find where I can just show the timeline and hide everything to the list. Question: What can I do to show the ...
0
votes
1answer
14 views

JQuery Accordion doesn't works

I read a list in SharePoint 2013 by using a JavaScript and put the entries in a Accordion structure. I get the values but the Accordion effect isn't working. Why? If I try it without my List reading ...
0
votes
0answers
11 views

changing the header title of dispform.aspx

Am having a SPList in SP Online env. and I have created a UI newform.aspx and on Submit button click, i am inserting into the splist. My requirement when i click on the title_with_linkeditem , i ...
0
votes
1answer
18 views

How to populate people picker control with Jquery?

Pulling the Approver(s) via REST call brings me the data I want, but am not having success populating a SharePoint People Picker control with the results. if (data.d.Approvers != undefined) { var ...
0
votes
2answers
37 views

How to get values from AJAX call into variables for multiple selection Person and Group fields?

The following works great to retrieve multiple selection Person and Group fields: url: xurl+"/_api/web/lists/getbytitle('"+xlist+"')/items/getById('+xid+')?$select=Approvers/Name,Reviewers/Name,...
0
votes
2answers
33 views

Unable to get property 'createRange' of undefined or null reference

I have a SharePoint custom list form with a bunch of Javascript running on it. In particular I have one field where it gets its choices from a lookup to another list. The lookup returns n versions of ...
0
votes
0answers
19 views

custom form - hide field based on other field value

i used next code in my custom form of document library `<script src="http://code.jquery.com/jquery-1.7.2.min.js" type="text/javascript&quot;"></script><script type="text/...
0
votes
1answer
14 views

How to set description and link for hyperlink field on NewForm with jquery?

I'm not seeing a clear answer on this after browsing through other answers. Closest I found was this, but doesn't work after fiddling with it for a while. I already have some jquery filling in ...
0
votes
0answers
14 views

How can I send the results from a form (with HTML, CSS, JavaScript, JQuery, etc.) to a Sharepoint Library

I am trying to create a form with html, css, javascript, jquery. Basically, what I would like to do is, when the user clicks on the "Submit" button, the values entered in the form will be send to a ...
0
votes
0answers
19 views

Uncaught TypeError: Cannot read property 'wpq' of null

Uncaught TypeError: Cannot read property 'wpq' of null at NewOrEditV4Core (core.debug.js?rev=EW80nTQ9XTlOZU%2FEGCD2cg%3D%3DTAG0:4374) at _NewItem2 (core.debug.js?rev=EW80nTQ9XTlOZU%...
0
votes
1answer
23 views

Can jQuery Datatables in a search results web part return more than 50 documents?

I've hit a wall on figuring out how to remedy this issue. Im currently developing a search center page with jQuery datatables and control and item display templates. The search results webpart is ...
0
votes
1answer
18 views

Javascript to auto fill data in new form from the previous entry

I want to auto fill the entries in form fields from previous entry in the sharepoint list What I done is I created a new request from my custom form page and submit after that the data added in ...
0
votes
0answers
21 views

Error loading javascript code in content editor webpart in other browser except IE 11

I have added content editor webpart in NewForm.aspx in SP2013 and reading the code to javascript file called HideFields.js. The script is working as expected in IE 11 but not in Firefox, Chrome and ...
0
votes
1answer
34 views

How i can set a Date/Time field to be required if a People/group field contain a value

I am working on a custom list inside sharepoint online classic UI. and inside the custom list i have 2 fields:- "ResponsibilityOwner" --> People/Group which allow single value. "...
0
votes
0answers
34 views

Unable to capture when a managed metadata column is changed inside my sharepoint new/edit list forms

I am working on a sharepoint online classic team site. and inside the classic team site i have 2 lists:- Responsibility List. Customer site List. Both of the above lists have the same managed ...
1
vote
1answer
33 views

Get users' Email and save it to a Text field on NewForm

I have multi value Person or Group field and a Multi text of Line field in my SHarePoint online site. On NewForm I want to fetch all the users' EMail and save it to Multi text field separated by ...
0
votes
1answer
28 views

SPServices.SPCascadeDropdowns is not working “XML Parsing Error: not well-formed”

I am working on a sharepoint online team site. and i want to define a Cascade drop down for main and sub categories. so i follow the steps mentioned in this Demo. Where in my case i created 3 lists ...
0
votes
2answers
30 views

Unable to get property '$4a' of undefined or null reference

I am trying to customize a SharePoint 2013 calendar. When tried with jQuery, getting the below error. Any help is appreciated. <script src="/sites/it-HongKong/Scripts/jquery-1.7.2.min.js">&...
0
votes
2answers
38 views

JS Cascade code not working for SPO document library edit form

I have a document library setup with content type enabled in SharePoint online. There are total 4 content types and out of those 4, for content type called 'Closing Documents', I want to perform ...
0
votes
0answers
14 views

Making a “Non-Required” field, set to required based on another Form Element selection

I have a drop down where if I select "Yes", two other form fields that are hidden via hidecolumn, will then show via showcolumn event. The drop down is a required field and so are the other two form ...
0
votes
2answers
26 views

Javscript to show form fields editable

I created two extra html form fields and when we fetch data using requestID then all form fields disabled including that fields i created so i want help that how i will show all forms fields disabled ...
0
votes
0answers
22 views

Restore of Web Parts in Page Edit Mode

I use the following code to minimize a number of summary link web parts on a SharePoint 2016 welcome page with web parts and it seems to do the expand/collapse work properly in view mode. However, in ...
0
votes
1answer
12 views

SharePoint field validation

Trying to validate if a "Tool" field in a sharepoint new item form equals one of 2 strings when user causes blur event. If it is either "abc" or "zzz", then I need to popup and alert. Not sure what ...
0
votes
1answer
12 views

Auto complete text box

I followed this link to auto complete. I am missing bunch of employee as I type. for example, I have a butler, jonathan but he is not showing up.
0
votes
1answer
17 views

Page to show “Modified By” and “Last Modified Date” of file in file library

I have a .csv file in a file library, i would like to know if is there way to display in some page when the .csv file was last modified, and who did. Does anybody know any code in to get this ...
1
vote
0answers
21 views

Expand the cell/grid width and height in the calendar

Kindly help me with this urgent task. I want to know how to increase the grid/cell size in the calendar. The current cell/grid/block are two small for my requirement. I want to expand them per day ...
1
vote
1answer
54 views

Export multiple lists into a single CSV file

I have a requirement to fetch 2 large lists and merge data into a single CSV file. Suppose Lists are as below : List A Column1 Data1 Data2 List B Column2 Data3 Data4 Then Data should be displayed ...
0
votes
2answers
51 views

Column permission to edit the data for a specific SharePoint group

We have one list in SharePoint Online in which there are certain records. There is one column whose data should be visible to all users,but should not be edited by all the users, it should be enabled ...
0
votes
2answers
68 views

PreSaveItem() is not getting the updated values from the list edit form

I am working on a team site inside sharepoint 2013. and inside my custom list i added this javascript to prevent closing an item unless the user enter a multi-line text field named "Analysis":- <...
0
votes
0answers
18 views
0
votes
1answer
35 views

How Add Tab ability to Content Editor Web Part?

Hope you're well; I would like to know how I can add tabs in Content Editor web part in SharePoint Online. What is best solution to this. kind regards, Anees
0
votes
0answers
33 views

SharePoint List Accordion with Search

I am kind of new to JavaScript. However with other references I was able to call a list via Rest API and convert it into an accordion. Now, I need to be able to search and highlight the terms being ...
1
vote
1answer
22 views

How to restrict certain users to see the attachments attached with a sp list item

I am working with SharePoint 2013 on prem and I have a custom list created where users store certain info relevant to their contracts. I have not implemented permissions for this list yet, but it will ...
0
votes
0answers
16 views

Unable to append to modal using PnP.js and Ajax

I'm unable to append a certain div to a modal when pulling in data using pnp and JavaScript. The whole process explained: Function DomyApiCalls - WORKS (Pulls in all the boxes with the titles) ...
2
votes
1answer
54 views

Using jQuery plugins in SPFx web part

I'm looking for a reliable way to implement jQuery plugins into my SPFx web part (targeting SharePoint 2016 on-prem). I have jQuery installed with npm install and imported with import * as jQuery from ...
1
vote
0answers
37 views

Yahoo Weather API stopped working in JQuery [closed]

I'm using the Yahoo API code to retrieve the weather information since last 5-6 years but it is stopped working since last couple of months automatically var URL ='https://query.yahooapis.com/v1/...
1
vote
1answer
17 views

implementing sharepoint permissions by content type

I am working with SharePoint server 2013 on premises. Regarding one of the implementations, I am using an OOTB custom list. For permissions, I have it setup by SharePoint groups: Finance Members, HR ...
0
votes
0answers
32 views

Unable to grab files inside folders on SharePoint using PnP js

Does anyone have some reference on why I'm unable to pull in files from a folder in SharePoint? This is what I have so far, this will be my PnP js call (I don't I'm not doing something right) <...
0
votes
1answer
77 views

Force template download instead of opening file using code

I have a Templates document library, where the piece of code below has happily forcing the download of a template document instead of the file been opened. However, it has stopped working. The ...
2
votes
0answers
19 views

Custom validation for people editor control

How to add custom validation for in asp.net if the user adds more than one username an error message must appear that he can only add one user. Thanks Regard.
2
votes
1answer
55 views

Update Excel/CSV file from List

I have a requirement in which suppose if someone adds an item in List, item details should be automatically updated to Excel/Csv file which has same column names as list. This Excel/csv file can be ...
0
votes
0answers
31 views

SharePoint how to upload file using javascript

I just want to use SharePoint to upload files to it and downloading from it without getting into any add-in or whatsoever business(just for storage). But to test JavaScript code from the official ...
1
vote
1answer
27 views

How to sort after “group by” in a SharePoint Online list

I have created a list and populated it with some data. I have grouped it with ID column. So now it is appearing with count as below : Numbers in () are the count of times with same ID. I want it to ...