0
votes
3answers
33 views

How do I add bold text to my form?

Using a script editor on my new form I added this script. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script> <script ...
1
vote
1answer
46 views

Onchange People Picker

I have a problem changing a people picker in a custom form. Need when writing or changing the value in the people picker I know, I'm using javascript using jquery. Already tried using this code: ...
0
votes
1answer
24 views

DispForm.aspx get value with :contains not working

I want to get a value from a field on the DispForm with jS / jQuery. I tried the following Code: var question = $('h3:contains("Frage")').closest('td').next('td').text(); However it doesn't work. ...
4
votes
3answers
134 views

JavaScript is breaking my theme in SharePoint 2013

I am having an unusual problem. I have a site in SharePoint 2013 I just stood up, and starting to experiment with JavaScript and jQuery. I am using one of the OOTB themes, not ready to monkey around ...
0
votes
0answers
144 views

Quick launch Collapse / Expand sharepoint 2013

I need to custom Quick launch accordion menu, here is my code (from magali post : How to make an accordion menu for a subsite in SharePoint 2013): function accordionMe(selector, initalOpeningClass) { ...
0
votes
0answers
26 views

ko is not defined - Knockout and SharePoint 2013 Code Embed?

Any special considerations when loading Knockout with code embed on a SharePoint 2013 Page? <script type="text/javascript" ...
1
vote
1answer
98 views

SharePoint Online 2013 Page Code Embed and Javascript - output disappears

I noticed I can't embed inline javascript in an SPO 2013 Web Part page, but can reference a library. I'm outputting a table from that js. If I put alerts that table displays but then disappears ...
0
votes
1answer
62 views

Creating a Status notification SP 2013. Script to make it fade?

I have some code that creates a new status bar but it just stays on top without fading. It doesn't even have an 'x' to close it manually. The following is how I am adding a new SP status from code ...
0
votes
0answers
38 views

Webpart squezzed after jQuery hide() and show()

I have the following problem: I exported on the mysite https://mysite.intranet.i/personal/user/AllTasks.aspx the tasks webpart. I imported it on another page in another Sitecollection -> works, all ...
0
votes
2answers
203 views

Include js file in Page Layout, after jQuery file in Master Page

I'm trying to include a javascript file in my page layout file. I already have it inside the "PlaceHolderAdditionalPageHead" Content Placeholder, and it includes the file, however I need it to be ...
0
votes
1answer
32 views

Mobile Design not working on WIndows Phone [closed]

I have following jquery script $('#difoot').click(function (e) { $('#visdis').toggle(); $('#disfootr').toggle(100); ...
2
votes
1answer
177 views

CORS with SPServices + jQuery

I need to access from a different domaine on a mobile a sharepoint list. Here is my code, a simple get request : $.support.cors = true; $(function() { $().SPServices({ operation: "GetListItems", ...
0
votes
1answer
124 views

Need help troubleshooting JQuery call to workflow

Running SP 2013. I've got SPServices 2014.01 and JQuery 1.11.0 both copied to my site collection and loading in my masterpage, plus I've confirmed they're loading with the page in question. I've got a ...
0
votes
0answers
143 views

Overriding styles on a SP2013 calendar overlay

I'm using a calendar overlay to roll up several calendar views into one, with each item being color-coded according to view (category). We use specific colors for these categories elsewhere, so I need ...
0
votes
1answer
96 views

How to create a SharePoint Content Type with multiple New Forms?

I am working in SharePoint 2013. I am trying to create a content Type with multiple New Forms. If some users click the New Item link they have to see one form and for others if they click the link ...
2
votes
2answers
121 views

JavaScript error while added jquery library to standard teamsite

I have a standard SharePoint 2013 Teamsite template with "seattle" masterpage and added jquery in the head of the seattle.html to solve some branding issues(screen 1). The problem is that I always get ...
0
votes
2answers
450 views

Sharepoint 2013 Rest API _api/Web/SiteUserInfoList filter Name

I have some trouble to use the Sharepoint2013 Rest API _api/Web/SiteUserInfoList. I need to use a $filter on the Name. I get always a 400 Bad Request. This is my endopoint rest ...
0
votes
2answers
118 views

Clear image cache in Office 365 Public Website

I am working on a public website in Office 365. I have a jquery-based image slideshow program that works fairly well, but if I add or remove images from the slideshow I occasionally get the dreaded ...
0
votes
4answers
2k views

Wrap or add rows to promoted links

I'm pretty new to sp in general (I am the site admin) Can someone give me a step by step guide on how to make either make Promoted links wrap automatically or so that I can statically say how many ...
1
vote
1answer
194 views

How to use “SPTreeView” in sharepoint hosted app

I am developing SharePoint hosted app. In that I have to use SPTreeView to display root site content in the Tree view form. For the data source I have to use SPHierarchyDataSourceControl. But I don't ...
3
votes
1answer
823 views

List Item required field: Change of form element Title attribute?

In my SP Online (2013) site I have some heavily customised list input forms, the input fields of which I have been quite happily referencing using jQuery using the following syntax: ...
7
votes
2answers
7k views

Adding jQuery to master page

I am trying to customize a Sharepoint 2013 team site. I created a copy of seattle.master and set it as default master page via context menu. I added my custom CSS within head tages like so: ...
1
vote
2answers
362 views

SP13 Accordian View (HTML Script)

I am working with SP2013. My objective is to add an accordion View to a Summary Link Web Part. I added the Summary Link Web Part. Within the Summary Link Web Part, I created groups. Then I added a ...
3
votes
1answer
296 views

How can I get rid of the columns header when the style 'Boxed' was selected?

I created a new list view with style = 'Boxed' in SP2013. The problem is that this view is showing the columns header in the top when there's no need to do it. So, how can I remove or hide it? I tried ...
0
votes
1answer
160 views

Remove Fly-out Menu from Quick Launch Bar

After hours of research I am not able to find a way to remove the fly-out menu from the quick launch bar without changing the master page. I tried by changing the Tree View settings, as well as quick ...
1
vote
2answers
2k views

How to set a value to the taxonomy field using jquery?

I have custom list in which there is one user field and a taxonomy field. I want to populate the taxonomy field value automatically based on the value entered in the user field, the value to be ...
2
votes
1answer
296 views

SharePoint 2013 Markup code works inside Placeholdermain but not as code embed in webpart (EmbeddedFormField)?

On SPO 2013 trying to deploy some custom markup code to bind a list Markup code works when placed in Placeholdermain via SPD vs embedding the code Site Page webpart (EmbeddedFormField) I have this ...
1
vote
3answers
2k views

How to get the Login Name of user from people picker control using jquery?

I want to get the log-in name of user from people picker control using jquery. I have a code which displays the display name of the user but I am not able to get the login name. Code is as follows: ...
2
votes
1answer
471 views

Run JavaScript after “group by” in list has been clicked on and list data loaded

I have created a JavaScript function to take a url from a list item and turn it into an image. This function works great on a list that doesn't have group by setup. With this script the images will ...
1
vote
2answers
1k views

Upload to DocLib with jQuery (and REST) without HTML5

Uploading Documents to SP 2013 with jQuery and REST work just fine (Properties when uploading Files using REST in SP 2013) but these methods require a HTML5 compatible browser. The problem is now I ...
0
votes
1answer
280 views

How to add a rule to a RichText Editor using jquery.validate.js plugin?

I'm currently adding some customizations to a SharePoint 2013 form using jQuery. I could add some rules to the 'input' and 'select' elements, but I can't do it for a RichText Editor. Did anyone try ...
1
vote
0answers
140 views

css issue when using from SP2010 to SP2013

I have one content editor webpart, in the document library view page which freezes the header row. It works fine when using it in SharePoint 2010 environment. But when I moved that CSS to SharePoint ...
0
votes
4answers
290 views

isotope menu for my landing page

I found the following, and I love it: http://isotope.metafizzy.co/ I'd love to make this into a menu for my landing page - what should I learn to figure out how would I go about doing this? Is it ...
2
votes
2answers
2k views

Loading jQuery and jQuery UI within JSLink script

How would I go about using jQuery and jQuery UI (mainly the sortable component) within a JSLink script. So far I've tried several methods of dynamically loading javascript within the JSLink script ...
1
vote
0answers
128 views

executeAsync strange behavior - sharepoint rest services

I'm using Sharepoint Rest services to update List Items. To do the update, I'm using the function executeAsync from the SP.RequestExecutor object. The code was working fine, but while I was testing it ...
0
votes
1answer
178 views

Possible problem with linked lists and limits of the Lookupfield in SharePoint 2013

I have set up a Parent/Child linked list, each parent item can have multiple different child items linked to it. To connect child items to the parent I use a lookup field on a field on the parent ...
1
vote
1answer
3k views

jQuery SP.JS objects to test if current SharePoint user has full control / owner rigths?

As an example, the below jQuery displays current SharePoint user title. Excellent! :) Is it possible to use the sp.js objects to test If the current user has Full Control on the current page or ...
0
votes
1answer
91 views

jquery for External List works for the first page

My jquery is in PlaceHolderAdditionalPageHead at the AllItems for the List. My list is external list. When I go to the list. Everythings ok. But when I go to the next page it doesn't work. How can I ...
0
votes
2answers
8k views

How to add jQuery script to a custom visual webpart?

Similar to some previous questions, I'm trying to use jQuery in a visual web part but I keep getting that jQuery is undefined. I've added the jQuery script to SiteAssets as well as a script folder ...
0
votes
2answers
394 views

SP2013: Disable Column in GridView

I have a list which is shown in gridview (Quick Edit in the ribbon). Now i want to disable one column with jQuery. This might be possible by applying the attribute aria-readonly="true" to the ...
1
vote
2answers
674 views

Cascade dropdown for multi select fields

I have successfully implemented the SPServices JQuery open source solution but unfortunately it doesn't seem to support multi select fields (I mean the ones where you can enable "allow multiple ...
0
votes
2answers
5k views

jQuery accordion for the Quick Launch in SP2013

EDIT I improved the answer and created a blog post about it here. I followed this post in order to add the jQuery accordion functionality to the Quick Launch in SharePoint. While the code in the ...
2
votes
4answers
5k views

Jquery is not firing on Page load SharePoint 2013

I have the following code (function ($) { $(document).ready(function () { // Ensure that the SP.UserProfiles.js file is loaded before the custom code runs. ...
0
votes
1answer
74 views

Catching query suggestions dropdown value

next to search box there is a dropdown containing query suggestions (everything, people, ...). How can I catch the value of this dropdown (it is div.s) in Javascript (jquery). Also I want to know ...
2
votes
3answers
1k views

sharepoint 2013 / bootstrap.js / only working in edit mode

I am trying to get the twitter bootstrap framework running on our sharepoint 2013 intranet page. When I'm editing the page, the code is working as expected. After saving the web part page, the ...