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

learn more… | top users | synonyms

0
votes
2answers
80 views

Javascript in script editor not always rendered

I'm having a strange problem with Javascript and SharePoint Online. I've created a page that contains a script editor webpart with some JavaScript code (calls a few REST services to show a list of ...
1
vote
3answers
62 views

SharePoint online jquery link

I'm getting a jQuery undefined error because my library isn't loading from CDN. On my html master page I've got this reference. I'm a little new to SharePoint branding and have seen lots of ...
1
vote
0answers
114 views

SharePoint Online Lookup Dropdown Autocomplete/Combobox

I have a list in Sharepoint Online, which has a lookup to an other list. No matter what, on the form it will always render as a dropdown value. When this list of values becomes huge, it's hard to find ...
2
votes
4answers
319 views

change value in dropdown menu sharepoint

I have a dropdown box name Status added in sharepoint page which have option (choose.. , In progress, Closed). Where Choose.. is bydefault value. When I open the page the value Choose.. should get ...
0
votes
2answers
182 views

jQuery EditForm redirect to DispForm

I want to redirect user after editing item and pressing save button to item DispForm. I currently have JS code: $( document ).ready(function() { $('input[value=Save]').click(function() { ...
1
vote
0answers
63 views

Can I programmatically access the values and modified dates for appended column entries?

I have a Projects list with a multi-line text column named Progress Update set to "Append" to create a record of updates. This appended Progress Update column saves a "blank" value when a list item ...
0
votes
0answers
51 views

SharePoint 2010 navigation rendering on mobile devices

My menu works great and is responsive in all browsers but not on a mobile device. on a mobile device the navigation renders spans and not the ul. my code <div id="topnavbar" class="navbar"> ...
2
votes
1answer
48 views

HTTPHandler Note Hitting the the breakpoint in VS2010

I'm trying to send some Async Data to the server form SP webpart. I added the HttpHandler to the Layout folder in webpartproject and registered it in web.config file for the SharePoint site. But the ...
0
votes
2answers
117 views

Conditionally hiding/showing fields on a custom newform using jquery

This is something I have been struggling with for some time now. I have looked all over the internet at different forums and blogs trying to find a solution and I have finally gotten ALMOST there. I ...
0
votes
1answer
68 views

Upload javascript file to sharepoint online library saved in wrong format

I am trying to Upload a myfile.min.js to sharepoint online using JavaScript using JSOM but its stored as wrong encosing format var req = jQuery.ajax({ url: sourceFileItem + '?ver=' + ...
1
vote
1answer
112 views

Display All Sharepoint site owners in a table for a site and subsite

I just want to display all the Site owners in a table for each site. So i have developed the below code where i was able to fetch the users form the Owners Group. It is working only for the first ...
0
votes
0answers
64 views

Overrding the closing button on a list form modal dialog

I have a custom list form that opens within a dialog. What I need to do is the following: Override the closing button (X) by prompting the current user to see if they want navigate away from the ...
0
votes
2answers
280 views

Adding a new node in JSTree [closed]

I am working on below JSTree plugin. http://www.jstree.com/ What I am interested in is when i click on node Make a call to server Add new node I found on change event and it triggers when I ...
0
votes
1answer
105 views

Javascript injection in office 365 site.

I am doing a js injection using custom action. I am loading jquery first and then my custom js. I have applied sequence in custom action 0 for jquery and 100 fro my custom javascript. My problem is ...
0
votes
2answers
49 views

Apply jQuery to search result webparts sometimes fails

On the start page of a Sharepoint 2013 Intranet portal I put a search result webpart. The webpart is styled and formatted into a slider with jQuery & CSS For some reason sometimes the jQuery on ...
0
votes
1answer
28 views

Hiding 'About Me' from users from the Username drop down list

I'm using 2013 Enterprise and have customized a copy of seattle.master. I'm editing the seattle_custom.html and uploading the changes and publishing a major version. So far I've not been able to get ...
0
votes
1answer
149 views

HTML + JQuery (CSOM) to add multiple item to a Sharepoint list and get their IDs

I try to use HTML + JQuery in CEWP to build some sort of analog of InfoPath's repeating table in order to be able to insert multiple items in a Sharepoint list using CSOM. The current task is to get ...
0
votes
0answers
29 views

zWeatherFeed does not display on publishing pages

I've included in my masterpage, just above </head> tag, following code: zWeatherFeed plugin scripts (required) <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" ...
0
votes
1answer
317 views

SP.RequestExecutor is undefined for angular controller

This is a sharepoint hosted app where I am trying to use the Sharepoint Request Executor to make a REST API Call to the host web to get list items. The code is however failing on the file: ...
0
votes
1answer
198 views

Cascading Dropdown lists with SPServices not working

I have a list called BRM with the following fields: BRM (Text) Country (List) Business (List) The country list is simple: http://screencast.com/t/uh93fIhzWn The business list is also simple: ...
0
votes
0answers
88 views

Jquery Async call issue CSOM

I am creating a custom Navigation using Termstore value. I am getting all term using JSOM like that function getTermStores() { context = SP.ClientContext.get_current(); var taxSession = ...
0
votes
1answer
102 views

Web Part specific DOM Manipulation. Two identical Script Editor Web Part Code blocks

We have a script editor web part with javascript that references some jquery libraries. The code creates web part properties and hides DIV tag in the web part based on some conditions. It works ...
0
votes
2answers
88 views

Highcharts jquery version for web part in SharePoint

I am trying to create a web part in SharePoint to get data from a custom list that contains our departments revenues. I don't want the users to check the original values instead I have a publishing ...
0
votes
1answer
96 views

Script Editor web part stops working after a filter

Whenever I apply a filter to a list view using the default filter options, my script web part stops responding. The code I'm using for the web part is: <script type='text/javascript' ...
0
votes
1answer
39 views

Some underlying elements visible in jQuery hover menu

I have created a hover quick menu that slides down when moving over the homepage link in List Views in my SharePoint Hosted App. Works fine, however some elements from the background are still visible ...
0
votes
1answer
122 views

Change Excel web access dynamically using javascript

I have a page with a button and an Excel web part. When I click on the button I want to load another Excel file in that web part. Is it possible to do this? Please suggest some ideas on it.
2
votes
1answer
40 views

How to Send return value to the caller function correctly

Hi i have a code like this. var guiD = myCallerFunction('abc'); alert(guiD);====>Line No Y function myCallerFunction(name){ //Some code here var terms = termSet.get_terms(); ...
0
votes
0answers
71 views

SharePoint 2013 - In Page Image Pop Up

I would like to implement some image pop ups using jquery, AJAX or similar to perform actions as shown on this page: http://dimsemenov.com/plugins/magnific-popup/ It is not desirable to have a new ...
0
votes
0answers
32 views

Cascading dropdown in Sharepoint 2010, issue using SPCascade

I'm trying to use this script and have followed each step accurately, however when testing it, the drop-downs simply display (None) rather than the values saved in the first list. I tried using the ...
0
votes
0answers
46 views

Cascading dropdowns with 2 parents

I've used SPservices to create cascading dropdowns via lookup columns without issue. My question is if it is possible to create a cascading dropdown with two parents (without using infopath). ...
1
vote
0answers
59 views

Infopath 2010 form in Sharepoint 2013 modifying values before save

I have a really complicated problem that I haven't been able to find a solution for and was wondering if anyone can provide some suggestions. Background: I have a SharePoint list that contains 2 ...
0
votes
0answers
53 views

Enabling Maximize Button for a list in sharepoint 2013

I have applied the following code in my SharePoint 2013 site in the content editor webpart: var options = { allowMaximize: true, showMaximized: true, url: “siteURL” }; ...
0
votes
0answers
26 views

Sharepoint 2013 - jcom - How to add function and increment 1 to a specific field?

The following setup is working perfectly for fetching data from my custom list... var items; $(document).ready(function () { SP.SOD.executeFunc('sp.js', 'SP.ClientContext', CustomAction); }); ...
0
votes
0answers
54 views

How to get Users in the Farm with JQuery

want to users all the Sharepoint farm, so I would like to consume SharePoint web services using javascript/jQuery. I am capable to write small scripts using javascript/jQuery, but I don't know how to ...
1
vote
1answer
488 views

SharePoint 2013 redirect on save or cancel jquery

I've been battling to get this work for the last day or so and its driving me up the wall. Firstly I'm using the 'SPUtility' jQuery scripts which are great to showing or hiding fields depending on ...
1
vote
1answer
53 views

How do I embed a hyperlink in a NewForm.aspx to a second related list

I have two related lists in SharePoint 2013. I want to add a link from the new form of one list (NewForm.aspx) to open the second list, so I would be able to add new items to the second list quickly. ...
0
votes
0answers
46 views

Opening Hyperlinks inside Excel WebAccess webpart in the Same Window

I have the same question as in this link, but this solution is not working for me. $(document).ready(function() { $(".ewr-sheetcontainer a").each(function(){ ...
1
vote
0answers
133 views

How to get Web Application url in SharePoint 2013 in Javascript?

I'm looking for a "beautiful" and the fastest way to get only the web application url (don't want to trim or substring or anything else).
0
votes
2answers
66 views

Display Images from sharepoint library in table

The below code displays the images in the image library Horizontally. But i want to display the first 5 images from my array in the table format. I have attached the output below. Can you please help ...
1
vote
2answers
303 views

how to get Relative Url using Jquery in Sharepoint Site?

in my sharepoint site first i want to get Host URL(/Site URL ),and user enter Relative URL in TextBox then i want to append that relative url with Host Url Using JQuery and nedd to check that url ...
0
votes
2answers
348 views

How to verify if current user is a SCA (Site Collection Administrator)?

I have a NavBar at my master page that will only be displayed to the SCA (Site Collection Administrators). I'm using jquery SPServices to do that validation, but the only examples that i found suggest ...
0
votes
1answer
41 views

The choice SELECT doesn't work, only 1 value boots, and there is a lot of them, help with a code

$().SPServices({ operation: "GetListItems", async: false, listName: "Telekom Group", CAMLViewFields: "<ViewFields><FieldRef Name='Title' /><FieldRef Name='Name' ...
1
vote
1answer
62 views

Jquery accessing an element in Approval Task Form

I've been dealing with an error I can't solve. I've got an approval task form in which I want to hide the ribbon depending on the value of a field. The HTML generated when clicking the task link: ...
1
vote
1answer
274 views

Can we trigger a SP2013 WorkFlow using REST API + Jquery?

Can anyone suggest whether there is any possibility how to trigger a SP2013 WorkFlow using REST API & Jquery ?
4
votes
1answer
133 views

Edit item popups not working with ms-listviewtable class in a CEWP

I'm using SharePoint 2010 and Internet Explorer 9. (I have no choice in browser or versions -- policy dictates I use these until told otherwise) I actually solved my problem, but I still don't ...
0
votes
2answers
56 views

how to implement this jquery for preview

I have a jQuery to display pictures as thumbnail for a document library. It works great but as soon as I add grouping to the view then the pictures do not show up as thumbnail. They show up with ...
0
votes
0answers
57 views

Problem while resetting the share point lockup value with 20+ items

I have a sharepoint lookup and a text box. On Text box changed event i want to reset the next lookup value to (None) and text box to empty. Below is the code for the same. This code is working ...
0
votes
1answer
51 views

client side IDs of share point elements

I need to hide some menu items that come OOTB on sharepoint pages. I can do this through javascript/jquery, but am not sure how consistent are the client side IDs of various elements on SP pages. I ...
0
votes
1answer
79 views

Reset sharepoint lookup with None option using jquery

How to reset the lookup value to None in Editform.aspx page using Jquery. I want to empty the lookup dropdown if text box does not have any value . Here is the code which i have tried.I was able to ...
0
votes
1answer
47 views

Fill textfield with JavaScript

I have a textfield which needs to get the value of a variable. When I select the <input> by it's ID, and use jQuery.val(variable) I get [] as output (Chrome Developer Tools). When I use ...