Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [jquery]

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

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

How to ensure field is unique using JavaScript

I have two lists: List A - a workflow tasks list List B - an employees list containing fields such as employee name (person column), employee number (single line of text), etc. I have a workflow ...
0
votes
1answer
66 views

Sharepoint Framework doesn't run jquery in .js file

I'm starting out with Sharepoint framework and at this point I just want to play around and get familiar with the concepts. I've created webparts with the Yeoman generator and launched them in the ...
0
votes
1answer
37 views

How to open up View Item from task list in SPO in a new tab

I am working with SPOnline Task list. Users click on View Item for a given task to go to the display form which by default opens in same window. Is there a way to open it up in a separate tab? ...
0
votes
0answers
35 views

validation append comment history

In list I have a column name Comments multiline text box (append type) which is appending user comments , I want to validate that user must upload file in comment box before saving else it will not ...
0
votes
1answer
54 views

Mask for textbox in sharepoint 2013

I'm trying to put mask in my sharepoint list, unfortunately answers from similliar questions are too old, so jqueries doesn't work at all (or they are false added by me) I don't have Sharepoint ...
0
votes
1answer
70 views

Replace HTML list values with substring on SharePoint 2013 Custom List Field

I'm using SPAutocomplete from SPServices because I have a requirement to make a searchable lookup field rather than an OOTB lookup field (drop down menu), as there is potential for thousands of values ...
0
votes
0answers
15 views

Can I leverage the OOB Assigned To Email Notification functionality to send an email to the Created By user?

I have an Issues List with customization in SharePoint that I've chose to enable email notifications to the Assigned To person after the issue is assigned. I'd like to also send an email notification ...
1
vote
2answers
350 views

Get the data from Multi line Text field and set it to text area line by line

I have a multi line rich text field and I want to get the data from column and set in text area line by line. I tried Splitting but I need another solution if possible.
0
votes
0answers
142 views

SharePoint REST API get values of checkboxes, Get/Post

Using SharePoint REST API, have a Bootstrap/HTML form that has about 20 questions, each with it's own group of checkboxes, and I'm trying to both Get and Post the values from the "checked" boxes. I ...
-1
votes
1answer
20 views

Sharepoint 2013: Moving a field o be side by side with another field doesn't save it

in an list/EditForm.aspx, I have the following code to copy/paste a field to another place: var dest = $('span[title="MyTitle"]').parents("tr:first"); // place to be copied var source = $("input[id*='...
0
votes
1answer
23 views

REST API or CSOM JS GetList return URL

I need to get url list, Title is ready, Title is not equals url. var clientContext = SP.ClientContext.get_current(); var website = clientContext.get_web(); var list = website.get_lists().getByTitle("...
0
votes
0answers
35 views

Document Open In IE

I have a pdf documents stored in SharePoint document library. By default the document open in Edge as the browswer is fine for some of the other documents in the library but the others I want to open ...
0
votes
0answers
28 views

Add validation to a Date field inside our publishing site's page layout using JavaScript/jQuery

I am working on an enterprise wiki site collection inside sharepoint farm 2013. I have a Date field named "ExpireDate" and i added it inside the EnterpriseWiki.aspx page layout. Here is the markup for ...
0
votes
1answer
8 views

ECB Menu “strAction” last value array

Created an Element in the ECB menu with dynamic items, when you try to access an item by clicking, the entire array is traversed and the last item is substituted, help the clicker to display the value ...
0
votes
2answers
74 views

How to chain promises for multiple ajax calls to SharePoint to get user ids?

Broken promises, thought I had it figured out, still trying to get reliable results. Console log shows hit and miss results. Below is the rundown of what I'm trying to achieve. Is there a simpler way ...
0
votes
1answer
21 views

SP13: Searching for Check-out Documents

Is there a way to do a site collection search to show all documents that are in checked out state? If possible could it be an OTB feature or maybe a powershell script?
0
votes
1answer
33 views

How to add items to welcome menu with javascript

I need to add new menu items to the welcome menu in SP 2013 using javascript/jquery. How can this be done? Additions to #welcomeMenuBox dont work for me.
0
votes
3answers
75 views

Code not Recognizing SP Services

I am getting error that I see in Developer Tools - Cannot read SPAutocomplete of undefined. I check in the Network tab and clearly see SP Services file loaded as is jQuery. I checked the browser ...
0
votes
1answer
92 views

validation for this page is invalid and might be corrupted. Please use your web browser's Back button to try your operation again

I am working on 2 classic online team sites. one site is the root which contain the real list, and the other is acting as the infrastructure site which contain some custom scripts and pages which i am ...
1
vote
1answer
82 views

Programming Search Field in Dropdown List

I have a list called Store List. On one of the columns that is a dropdown, i'm trying to make a search field at the top, so the user doesn't have to scroll through hundreds of stores. After much ...
0
votes
1answer
42 views

How to prevent custom button in cewp triggering events twice?

My custom button is triggering events twice. Custom button is in a content editor web part. It is supposed to set some fields value unique to submitting, then call the normal save function. Below is ...
0
votes
1answer
69 views

SPFX Web Part Error

I am following below MS article to practise jquery integration with SPFX. https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/add-jqueryui-accordion-to-web-part Getting below ...
0
votes
1answer
162 views

Auto populate column data from one list form to another list form in SharePoint 2013

We had two lists in SharePoint 2013. One list (Report) is for the report and another list (Access) for access. First list "Report" consist of a different column, one column name as "Request access" ...
0
votes
1answer
140 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
10 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
0answers
26 views

SP 2010 SPServices: Not able to get list items onto dropdowns with my code. Please help

The "Full Name" field is a calculated field. It takes the First Middle Initial and Last name fields and concatenates them. I really only need that field to display in a dropdown. Then, when the user ...
0
votes
1answer
12 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
0answers
34 views

How do I bring the Rating Feature from Share Point to my website

I have created a coupon page and I would like to implement the rating feature Share Point offers. I created a Rating Column in my list and then made an Ajax call to retrieves all the items from that ...
0
votes
0answers
14 views

How to show lookupcolumn field data in custom form field

Created a lookup column in my sharepoint list that fetch data from different list Now i created a custom dropdown fields i.e, <select id="test"></select> How i will display the dropdown ...
0
votes
1answer
16 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
109 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
31 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
120 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
37 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
36 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
49 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
124 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
31 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
19 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
196 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
194 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
441 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
28 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
34 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
26 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
129 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
39 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
41 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
27 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
35 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. "...