Questions tagged [jquery]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
307 views

Button that sets dropdown value onclick in Edit Form SPO 2013

INFO/OVERVIEW Using Sharepoint Online 2013/Classic view. The library name is SourcesLibrary On the *SourcesLibrary** Edit Form, there are (3) columns: The dropdown column is called Document, which ...
0
votes
1answer
19 views

New Task “Edit page” turns page blank

I've added a few jQuery scripts to our Sharepoint New Task page using webparts, the last of which was one that hid certain fields on the new task form. The code works, but now when I try to edit the ...
0
votes
1answer
15 views

SP13: Linking to Network Drive on Team Site

Normally, I can add a link that points to my network drive from my team home site quick launch with no issue. Not now. I add a the link to my network drive to a folder and will not open. I know the ...
0
votes
1answer
17 views

How do I filter elements from a Share Point list by category in Java Script

I have a created an accordion that has 7 different categories (Auto, Entertainment, Health and Beauty, etc). The content of each category lives in a SP2013 List; each list item was given the ...
0
votes
1answer
230 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
61 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
224 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
39 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
52 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
98 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
385 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
80 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
1answer
445 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
514 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
883 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
35 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
61 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
1answer
31 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
1answer
42 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
107 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
35 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
38 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. "...
1
vote
1answer
44 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
129 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
192 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
83 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
2answers
32 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
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
13 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
176 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
1answer
192 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
693 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 ...
1
vote
2answers
563 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
1answer
283 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
1
vote
1answer
163 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 ...
2
votes
1answer
273 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
70 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
73 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
1answer
328 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
174 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 ...
1
vote
0answers
41 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
327 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 ...
1
vote
1answer
190 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 ...
1
vote
0answers
46 views

Jquery to get SharePoint List data

I am brand new to using JavaScript/Jquery, but I am attempting to make an HTML Index file which will be saved onto my SharePoint that neatly displays items from a Sharepoint list on the page... Can ...
2
votes
1answer
109 views

SP2013 Custom List - Case Sensitive Filter with JQuery

Good Morning Friends; I am using a JQuery script to act as a filter on a custom list. The text in my custom list is all Uppercase. Currently the filter is case sensitive. I tried using text-...
1
vote
2answers
282 views

JQuery Preloader on SharePoint 2013

I am having trouble getting a simple jQuery preloader to work. I've tried a couple different methods, I've also moved the function around in the code. Can anyone shed some light on why this isn't ...
1
vote
0answers
115 views

Project Online Intercept Ribbon Save Button Action

Need to intercept Project Online Save Button. To perform some action before Project Server update starts. Once my action is successful, I would like original code of Project Server Save to take over. ...
0
votes
1answer
44 views

Call JavaScript dynamically on Visual Web Part

I currently have a visual web part that displays clocks from different time zones, using the jClocksGMT library as provided here in the .ascx file. However, instead of hardcoding the timezones I want ...
1
vote
1answer
131 views

Rest API to display SharePoint list items on Webpage

I'm using the Rest API to pull in data from a SharePoint list and display the results on a webpage. How would I be able to target those two array items? All I'm receiving back in [object Object] [ ...
3
votes
1answer
121 views

SP .trim() and jQuery.trim() are fighting

I'm using a jQuery plugin Datatables to create my own views of information retrieved from a list and it is mostly working. Datatables is built on top of jQuery and relies on a lot of its features. ...

1 2 3
4
5
40