The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [jquery]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
17 views

Jquery keeps getting called after enter the page [closed]

I'm using a jQuery with a OnClick event to show 3 dropdown menus. The problem is, when I go to another page and come back, the jQuery gets called twice, and stays called until I reload. This means ...
0
votes
2answers
35 views

How to get multi-line Text value - JQuery

How to get and set get multi-line Text value using jquery. I have tried following code to get my Description field value. But it's not working. $("input[Title='Description Required Field']").val()
0
votes
0answers
20 views

ctx.ListData.Row not behaving as expected in SharePoint 2016

I will first start out with saying that this solution was originally implemented as CSR/JSLink, but then a requirement came that all the functionality had to work in any personal views the users might ...
1
vote
1answer
16 views

Rest API to get different data

I have the following code to get values of a column. function GetKPIS(EstruturaKPI){ jQuery.ajax({ url: "SITE/_api/web/lists/GetByTitle('KPI')/items?$filter=Title eq '" + EstruturaKPI + "'", ...
0
votes
0answers
12 views

Send emails with voting buttons from SharePoint jQuery

I am sending email from SharePoint using rest api jQuery, I want to send voting button or meeting invitation using rest api jQuery. Is there any way to achieve this?
0
votes
1answer
30 views

Export Excel data to exisitng sharepoint list using jquery [duplicate]

can we build a solution in jquery where we can export excel data to existing sharepoint list number of column in excel will be 56 or more with 5000 rows , i have to use on JSOM
0
votes
1answer
23 views

Collapse all grouped sublists by default in Sharepoint using jQuery

I'm trying to edit script editor webpart in Sharepoint 2013 online (chrome removed) so that all grouped sublists would be collapsed by default. It's already set to collapsed by default in document ...
0
votes
0answers
27 views

I was given a XML web part that uses SharePoint Services. I need to convert it into an ajax/JSON webpart

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. When I open the ...
0
votes
0answers
20 views

EDGE processing of Multiline Rich Text URLs in JQuery

I am having difficulties setting up URL values within a list Multiline Rich Text field. The code I am using is as follows: ThisList = "TK0001 TK0002 TK0003 TK0004" TaskArray = ThisList....
0
votes
1answer
21 views

How to Create a Multiple People Picker field in a HTML form using JQuery

I want to create a People picker field in a HTML Form, which should accepts multiple people names, with comma or semicolon separated, Usually I create a input text field in the HTML form and then ...
0
votes
1answer
16 views

jquery prepend doesn't work in sharepoint 2013 forms

I tried to add some label on Sharepoint 2013 forms with jquery prepend. I write a code for testing purpose, add a row with text 'Label1' before column name 'Project'. It doesn't work, 'Label1' is not ...
0
votes
1answer
34 views

Jquery change event on miltiline text field (plain text)

I have tried to set up an onchange event to be triggered on a Multiline (Plain) Text field. I have tried all the following without luck. $("textarea[Title='Identified Tasks']").closest("span").find("...
0
votes
0answers
56 views

plumFormAutocomplete jQuery plugin doesn't group suggestions

I am using plumFormAutocomplete jQuery plugin in NewForm.aspx to populate suggestions from sharepoint list (visitors) to fill one field (visitors name) and, based on the selection, autocomplete second ...
0
votes
1answer
17 views

Backup Aspx Site Page to Network Drive

Did a lot of research and tests but can't find a working solution. I have a few aspx site pages and I want to back them up onto network drive or my c drive because I don't want to lose them. but I ...
0
votes
1answer
25 views

I am retrieving items from a list and want only 4 to show on my page

I am retrieving items from a list, which has 5 items, but I only want 4 to show and every time I add a new item I want the new item to show first and then the other 3 items to follow and the fifth ...
0
votes
1answer
27 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
24 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
0answers
17 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
34 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
17 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
12 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
14 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
24 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
15 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
27 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
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
64 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
35 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
47 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
63 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
219 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
115 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
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
34 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
63 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
32 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
64 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
78 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
75 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
60 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
141 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" ...