Questions tagged [jquery]

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

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

I have an old webpart in XML and using SP services. I need to convert using Ajax

I was given an old webpart using SP services and XML. I was requested to use Ajax. This is the first time I do this kind of conversion and I am not sure if I am doing it correctly. This is the old ...
0
votes
1answer
18 views

Jquery and SharePoint Currency Field

I have a form with multiple SharePoint fields set as "currency". How do I put a currency field value into a variable? I've tried several version, such as: var txt01TotCash = $("input[id='...
0
votes
1answer
12 views

Uncaught SyntaxError: Unexpected identifier [closed]

I am an artist and I want to make a gallery like in this video. I don't think that's the only error so any additional information will be good. https://www.youtube.com/watch?v=9UQzsZY070c I named ...
0
votes
0answers
9 views

How to display multiple calendar icon calendar events using jquery

I would like to view a sharepoint calendar using this view here Happy to do it using rest or CSOM but looking for a jquery plugin. Anyone done something similar or where can i find such a plugin. ...
1
vote
0answers
30 views

SharePoint show hide after presave [closed]

I have a requirement to show three text boxes and make them mandatory on check of radio button else hide the text boxes. I am able to show hide in New and Edit form. But on Disp read form I am not ...
0
votes
0answers
10 views

Sharepoint 2013, JS link people picker field not working saving for multiple users

I am using below CSR code to set peoplepicker value to multiple person. I have multiple users to be assigned to my peoplepicker field. The code works when i pass current user, but it do not work for ...
0
votes
0answers
9 views

Query site collection for specific content type and display as a list

I'm working on a main page for a projects site collection in SharePoint 2013 on-premises. Each subsite is a project based on the same template. Using a CQWP with a custom display template, I've ...
0
votes
1answer
12 views

Steps in updating single field for multiple (selected) lists items

I am very new in SharePoint and wanted to seek some help. I have created a simple SP list that has a simple approval process. It is working fine. However, I was task to enhance it by allowing the ...
0
votes
1answer
23 views

Promoted Links list to show most clicked document library tiles

I am working with SharePoint online and on a subsite landing page, I am using promoted links list web part to render 8 tiles, one for each document library, when users click on these tiles, they get ...
1
vote
0answers
10 views

Update the index of the related object after spice in an object using JavaScript [closed]

There are 2 variables: var brands = [ {Brand: "Hyundai"}, {Brand: "Toyota"}, {Brand: "Honda"}, {Brand: "Volkswagen"} ] var cars =[ {Car: "Elantra", BrandIndex = 0}, {Car: "...
0
votes
0answers
9 views

Audience Targeting

A short Breakup what I wanna do in Spfx. My goal is it to provide a custom-designed Sharepoint site based on the Users group. The first step would be to hide all Webparts on the Side and then to ...
0
votes
1answer
19 views

Add jquery reference to JSlink file

I am using JSLink feature of SharePoint 2013, My JSLink file has code to get current user id and other details, for this I need to add reference of jQuery file. I tried adding those files in in ...
0
votes
1answer
42 views

expandable list of columns ( sharepoint 2013)

I have a list with too many columns (over 20 columns) and I would like to make some of these columns expandable to make the navigation easy for users. is it possible, knowing that I don't have ...
0
votes
0answers
19 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
62 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
26 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
30 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
24 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
44 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
53 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
42 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 ...
0
votes
1answer
19 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
22 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
31 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
19 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
35 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
19 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
29 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
56 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
53 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
65 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
40 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
52 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
80 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
53 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
24 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
31 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
14 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
47 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
25 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
58 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
34 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
33 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
35 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
67 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 ...