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

learn more… | top users | synonyms

0
votes
0answers
65 views

Changes to input field with JavaScript will not save after form submit - Infopath Browser Enabled Form (SP2010)

I'm running a script to loop through some elements and tally all input fields that = "No". I then use either of the following two lines of code to successfully change the input field, however, after ...
0
votes
0answers
65 views

SharePoint 2013 - Move Sum to Bottom

I have a list view webpart and have enable a total to be calculated on one of the columns. However, the issue is that the sum is placed at the top and not the bottom. How do I get it to the bottom? I ...
0
votes
0answers
125 views

SPServices - GetListItems for Pages library in site and all subsites

I am using SPServices GetListItems method to gather information about ows_Title and ows_EncodedAbsUrl to create a menu. Everything is running OK in case of small amount of lists. I can specify several ...
0
votes
0answers
33 views

Connect to sharepoint web service with javascript

http://appsrv/pfa/_api/ProjectData/Projects?$select=ProjectName,ProjectStartDate,ProjectPercentCompleted This is the link that after you enter username and password return XML data, I need to access ...
0
votes
0answers
267 views

Javascript to add an “Add new Item” to Lookup fields on an Edit Form is not working in Chrome and Mozilla

The below javascript which creates a link next to a lookup field on a list NewForm or EditForm. It is working fine in IE and when lookup has more than 20 + values it is not working in Chrome as the ...
0
votes
0answers
72 views

Send Email using jQuery

I am using jQuery Email template to send mail. But when I try appending image, it is unable to send the image. Please let me know how can I embed image while sending mail using jQuery API.
0
votes
0answers
29 views

sharepoint user profie picture

I have created an app part that collects the current user profile picture function GetCurrentUser() { $.ajax({ url: _spPageContextInfo.siteAbsoluteUrl + "/_api/SP....
0
votes
0answers
41 views

Sharepoint 2013, loading jQuery into Custom Master Page for all web parts that use it

I'm VERY NEW to SharePoint 2013 and work with a programming team. We built a SharePoint 2013 Custom Master Page with a developer who is no longer with the company. We built it with XHTML and ...
0
votes
0answers
246 views

How to set default value of People Editor of SharePoint Controls using jquery only

I have value of Editor column which is People/Group type column in a variable. I have used SharePoint controls for setting that value. Controls are <SharePoint:PeopleEditor ID="people" runat="...
0
votes
0answers
60 views

Issue with SPUtility and prototype.js files in editform.aspx

I am facing issues with SPUtility and prototype.js files in my editform.aspx in my SP 2010 list form.If i mention like below, my entire custom CSS was not working and because of these 2 js files,I ...
0
votes
0answers
95 views

jQuery,PreSaveAction does not fire when multiple references of .js files in SP 2010 List EditForm

In my SP 2010 List Form's editform.aspx file I have added 2 Content Editor Web Parts from which one of them - DisableFldsCEWebPart - has jQuery and SPServices.js file references and with the help from ...
0
votes
0answers
17 views

Multiple tabbed list webparts

Trying to put two tabbed list webparts on the same WP page using Jquery. Using the header, 2 column, footer layout and want tabbed list 1 on left with second on the right. First snippet works, but ...
0
votes
0answers
51 views

Lookup columns with JavaScript

I have two lists with one column that is a lookup column. How can i bind the two lists together with JavaScript or can i retrieve the data from both lists with the lookup column and JavaScript? Or ...
0
votes
0answers
29 views

Modify People Picker Located in IFRAME on WebPage

I am new to SharePoint and need some assistance. I have a webpage written in normal HTML and JavaScript with an IFRAME that contains a SharePoint page. When the webpage loads, it contains the user's ...
0
votes
0answers
30 views

Javascript search code really slow in external page only when loaded in SharePoint

A while ago my supervisor asked me to build a tool to display some information from our ERP system. The ERP system is not that great, and often it is easier to just hack together a CGI script to ...
0
votes
0answers
112 views

Programatically submit list quick search query in SharePoint online

I'm trying to enter a string into the quick search box in the list header and submit the search to filter the list. This image shows the search box I'm talking about: I'm using jQuery to select and ...
0
votes
0answers
61 views

AutoLogonPolicy with XMLHttpRequest() or Ajax

I would like to open a website with XMLHttpRequest / Ajax to get data and paste it to a SharePoint list. The site requires login and I see that • it starts with the original url www....
0
votes
0answers
131 views

Validate checkboxes and textboxes in SP 2010 List NewForm.aspx on Save Click -PreSaveAction

I am having a new form created on my SP 2010 List, mycustomnewform.aspx and i have some 6 checkboxes and 6 textboxes.Now I need to validate these textboxes' value when a checkbox is checked. I ...
0
votes
0answers
36 views

Get broken inheritance items via spServices (SharePoint 2010)

Is it possible to get all items of a list, where the inheritance is broken? There´s an additional property for items via CSOM (HasUniqueRoleAssignments), but my task is to write code which can fetch ...
0
votes
0answers
41 views

DOM Manipulation Improvement

I am using jQuery selectors as post processors in my SharePoint application - jQuery post processing works out well in terms of DOM manipulation but the performance is extremely slow. Can anyone ...
0
votes
0answers
51 views

JavaScript broken after upgrade to 2013

We have upgraded from Sharepoint 2010 to 2013 and my assession number function stopped working. Need some help. Number is not generating <script type="text/javascript" src="/_layouts/js/...
0
votes
0answers
69 views

Async webpart - the best approach to access outer data source from webpart

I've already tried to search the web but I always get to some point from which I don't know how to get further. I have a Visual web part which needs to load data from external sources (different ...
0
votes
0answers
32 views

Increase Length of Stream Data from Client to Sharepoint Custom List

I am trying to update a column in a SharePoint 2013 Custom list but I am getting this error The maximum number of bytes allowed to be read from the stream has been exceeded. After the last read ...
0
votes
0answers
237 views

jquery datatabes deferloading response is of text/html; charset=utf-8 content type instead of JSON

I am using SharePoint Search API to search SharePoint lists and using jquery datatables to display the data. In my code I have set the row limit to 100. So getting the first 100 items/results is fine ...
0
votes
0answers
184 views

Javascript - How to get content of HTML of list items in SharePoint 2013

I want to create a PDF file which will contains information of all items in lists related to a specific itemID. So my idea is create an HTML array of that itemID, then post it to server and use ...
0
votes
0answers
21 views

How to reference and dynamically display documents based off of input on a form

I'm using Sharepoint 2013. I'd like users to be able to select a series of drop down boxes of categories and have a list of documents automatically filter based off those choices. I'd also like to ...
0
votes
0answers
83 views

Select2 in Sharepoint Application Page

Have a Sharepoint application Page where I use Select2 4.0 for Searchable Dropdown List. On my development PC everythink works fine but on any Client the CSS seems to be broken (Both use IE11). On ...
0
votes
0answers
78 views

SharePoint 2013 Dynamic JQuery Web Part Page Taxonomy and Missing Field Errors

I tried to implement this code from Mark Rackley -- it's basically a dynamic lookup. Just an FYI, all of the fields I'm using are managed meta data site column 'created from existing columns' inside ...
0
votes
0answers
343 views

Sharepoint Server 2013 Hide/Show jquery/sputility not working on a New Item List Form — no clue why (answered)

The Point When someone chooses "One" as the value of the urlTotal column, it will hide urlTwo and urlThree columns. I pasted the script link from my site assets folder into a content editor in the ...
0
votes
0answers
66 views

Build url with current item's parameters for button on default form page

Using only the browser (No SharePoint Designer) on a default form (DispForm.aspx) I want to add a button and specify that button to go to a certain page, and append the paramerters of the current page ...
0
votes
0answers
342 views

Dynamically set values for multiselect look up in sharepoint 2013 using jquery

I am trying to set the values of my lookup using jquery. Basically the values are coming from an array from another list. I was able to set the multiselect lookup with my array values. However i was ...
0
votes
0answers
120 views

SPUpdateMultipleListItems not working

I am trying to update a column in a list, changing all the items to Approved. Below is the script i am using. function approveall() { alert($().SPServices.SPGetCurrentSite()); $()....
0
votes
0answers
34 views

Java Script Parent Child Default field

I've been using this blog to help me set up parent/child lists in sp2010. It provides the following script: <script type="text/javascript"> function NewTime() { // Get the Query String ...
0
votes
0answers
39 views

Not getting [Object File] from a File Input HTML Control using JQuery in WebPart Custom Page

I am Using SharePoint Designer 2010 I have a file input control and a button as below: <input type="file" name="Resume" id="upload"></input> <input type="button" id="btnSave" value="...
0
votes
0answers
195 views

GetListItem SPServices don't retrieve data

i'm trying to retrieve data from Sharepoint using SPServices. I created a list called "values" with two field: "Title" (text field) and "values" (numeric field). I created a js file linked to a ...
0
votes
0answers
33 views

SP 2010 - Freeze Header Row - Cannot get solutions to work

I have been trying to implement a solution to freeze the header row of a list longer than I care to admit. I was able to get this solution to work: [http://techtrainingnotes.blogspot.in/2013/03/...
0
votes
0answers
154 views

AddUnresolvedUserFromEditor not working in Firefox

I have two people pickers in a list. I use the following snippet, to insert the current user into the people picker: var peoplePickerDiv = $("[id$='ClientPeoplePicker'][title='" + fieldName + "']"); ...
0
votes
0answers
45 views

Text box event handled by jslink and jquery

I have created my own Text box control using jslink in SharePoint on NewForm.aspx. i want to handle text changed event in jslink. I have given my code below .. (function () { // ...
0
votes
0answers
218 views

SharePoint 2013: JQuery functions not working in Page Layout

I created Page layout using Design manager and added required content within "pageholdermain" and added reference to CSS and .JS files under "PlaceHolderAdditionalPageHead". The CSS styling working ...
0
votes
0answers
138 views

Change Site Collection Home Link in Global Navigation

I have a script using jQuery that allows me to change the Text of the Site Collection Root in the Global navigation. By default, I always set it to, "Home" using the following code: <script type="...
0
votes
0answers
274 views

SharePoint 2013 - Display Hyperlink Field using JQuery/Datatables

I'm trying to display a Hyperlink field in a table using JQuery & Datatables. However, I'm getting the following error message response: DataTables warning: table id={id} - Requested unknown ...
0
votes
0answers
293 views

Cascading Dropdown using JSLink

I have created custom dropdown in newform using JSLink. Both are working fine. Now i want to make cascading dropdown. I searched a lot but i got using SPServices and other third party JS. I want to ...
0
votes
0answers
21 views

Can I load the contents of a webpart from another site?

Say I have a content editor webpart in one of my sites. Is it possible to load that webpart's content from another site inside the same install of SharePoint ? I tried using jQuery load with the ...
0
votes
0answers
42 views

modify the min length for the “People or Group” auto complete

i have a "People or Group" field inside my team site, and currently the built-in autocomplete will work after typing 3 characters. so how i can modify this to allow the autocomplete to work after ...
0
votes
0answers
119 views

Retrieve data from listdata.svc of an FBA site using jquery

I am trying to retrieve data from listdata.svc of an FBA site using jQuery but no success. Here is my code: <script> $(document).ready(function() { //use the getJSON mehtod of ...
0
votes
0answers
30 views

One script blocks other

I have been developing a workflow app on our SharePoint 2013 site. I have two scripts that I want to add to the custom new item form. Each of them (if only one is present on the site) works fine. The ...
0
votes
0answers
305 views

Calling Cross Domain Java Based web service by JQuery AJAX from SharePoint 2013

I am trying to call the Java based Web Service by Jquery Ajax, The URl of the Service is "http://vmABCapp01-staging.domain.com:7083/UserIDCheckService/CheckUserIDServiceImpl". The Jquery Code to ...
0
votes
0answers
199 views

Filtered lookup using SPServices

I have 3 lists: Schools, Interactions, Contacts In the new form for a Interaction item I have a lookup field displaying a long list of contacts, however I need to filter this list to only display ...
0
votes
0answers
502 views

List Form Jquery Save Button (validate, save, redirect) error. Is there anything wrong with our syntax?

We have a custom list form that we are trying to save, validate, and redirect. We can get the button to save and validate, but not redirect. And vice versa. We have tried several variations on the ...
0
votes
0answers
62 views

How can I take some user input (html or markdown), transform with XSLT, and write the resulting file to a library?

Not looking for a solution here, just something to get me started in the right direction. I would like to create a page that takes some user input from a textbox (markdown would be cool, but HTML is ...