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

learn more… | top users | synonyms

1
vote
2answers
26 views

Feature “SharePoint Server Publishing” disables jQuery

I'm currently configuring a SharePoint Online (Office 365) site where I need to use jQuery. A very common scenario where I do as I usually do. So I activate Site Collection Feature SharePoint Server ...
0
votes
0answers
36 views

How do I display Sharepoint 2010 list items within an external (intranet) HTML static web Page

Overview: I'm currently able to display Sharepoint 2010 List items from 3 Lists within an external HTML page on our company intranet. I use a JQuery script that pulls the RSS feed for each list. This ...
3
votes
1answer
33 views

Click anywhere in data view group by for expand/collapse

I'm trying to get the functionality of being able to click anywhere in the group by header element to expand and collapse the group. I have gotten close where I can click anywhere in the element ...
1
vote
1answer
18 views

Animate left navigation

I am trying to do some branding in SharePoint 2010, how can I make the left navigation as http://tympanus.net/Blueprints/SlidePushMenus/ 'Show/Hide Left Slide Menu' The code which I try left ...
0
votes
0answers
33 views

Loop through array and update metadata on files using relative URL only

I've got a script that combines JavaScript, jQuery, and SPServices to build an array of documents, copy each file or subfolder to an alternate location, then update the original file to indicate it's ...
0
votes
2answers
24 views

Add run with run with elevated privileges for spservices?

I am unable to add users to the group using custom button and SPServices,only site administrators can only able to add the users to the group.can any one help me how to add the run with elevated ...
0
votes
2answers
25 views

Add users to the group using SPServices?

I created a button in sharepoint site using content Editor,when the current users click on the button he must have to add to that particular group,can any one give example how to add current users to ...
3
votes
1answer
45 views

Checking CSOM people editor value

How can we check the user entered key in Client people editor is user or group? I have created a people editor in CSOM. I can save the value to the list successfully. But before saving i need to ...
0
votes
0answers
23 views

Using SPServices' GetListItems to sort by what the current user has “liked”

I'm using getlistitems to grab list data in SharePoint 2013, and I've managed to be able to filter by the current user's "liked" list items... but is there a way to sort by what a user has liked and ...
0
votes
3answers
34 views

Two jquery webparts on same page. one not working

I have two web parts that use jquery on the same page. this causes one of them not to work. One of them is an actual web part with a reference to ~SiteCollection/Style ...
0
votes
1answer
15 views

Overide Core.js Options?

What is the best way to be able to manipulate objects in the DOM using JQuery/JavaScript, specifically in an InfoPath browser enabled form in SharePoint 2010? If I try to grab a value from an input ...
0
votes
0answers
25 views

discussion board

i am trying to pull and display the items from dicussion board in a content editor webpart and also a column to show number of posts in the discussion board . Any suggestions on how to approach using ...
1
vote
1answer
52 views

Updating document metadata using Javascript or jQuery

I have a large, complicated script that copies selected documents from Library A to Library B when a user clicks a button. At the end of the script (as a final step), I'm calling the three functions ...
0
votes
0answers
18 views

jQuery .validate - submit don't fire after error

Validation plugin works fine except following scenario: user click submit button while text box is empty, get error message, then fill text box and click button again. This time nothing happens. Any ...
0
votes
2answers
90 views

Jquery to display the list items in a content editor webpart

Hi Am using sharepoint 2010 and am trying to find ways to display the list items in a content editor webpart using jquery . I want to display them i a html table. Let me know any kind of suggestions ...
0
votes
1answer
9 views

When I add a CEWP my columns titles are condensing

I am following these steps to create a label on my SP new form. When i add the CEWP and insert the code snippet that is provided in the instructions my title columns condense and go from looking like ...
0
votes
0answers
25 views

Update webpart sharepoint 2013 with jquery

I want to update my custom webpart, I tried the UpdatePanel but it updated all the Webparts in my page, so I looked for the Webpart Id then I wrote a script : <script> ...
1
vote
1answer
99 views

SharePoint 2013 Rest API OData Query

I am calling rest uri from jQuery ajax with filter string comparison startswith as below ...
0
votes
1answer
25 views

how to access input element in parent from inside iframe in sharepoint

I have the following jquery code and I have inserted it in an html page where I call it inside an iframe in a SharePoint page. I am using this line of code to get the id from the control in the parent ...
0
votes
0answers
35 views

jQueryUI autocomplete zIndex issue inside SP.UI.ModalDialog

I'm having an issue with zIndex for jQueryUI autocomplete in a page, autocomplete list is hidding behind the SP Modal popup. Below is the code in my Page1, where i'm trying to show a page ...
0
votes
0answers
23 views

Click to Auto-Upload Templated File in SharePoint

I have a unique use-case that I am trying to address for a project that I am working on. I am looking to find a way to bind an onclick event to the SharePoint file-upload function to upload a file ...
0
votes
2answers
25 views

Javascript isn't linking in IE for a webpart

I'm adding a web part(farm solution) into SharePoint 2013, the problem that I am receiving is that any scripting link I add(specifically jquery in this example), doesn't seem to be found by internet ...
0
votes
0answers
31 views

Sharepoint attachment control

I'm using designer to create a custom edit form and would like to create two controls in that would upload attachments to the list item, I'm using - ...
1
vote
2answers
50 views

Strategy To Manage Deployment Of jQuery In SharePoint?

There are a multitude of examples where jQuery libraries and plugins are used in SharePoint 2010 and 2013 solutions. There are problems with this approach because multiple versions of jQuery can be ...
0
votes
1answer
43 views

drag and drop folders,Items in sharepoint

I need to drag and drop folders between SharePoint libreries. drag drop items between list. Those are not offered in SharePoint 2013. DO I need a jquey script? And if any one have an idea how to do ...
0
votes
3answers
55 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 ...
0
votes
0answers
25 views

SharePoint 2013 how to add jquery image loader for image library images

I have added an image library in my SharePoint 2013 site I want that when a user clicks an image it should be loaded with any JQuery image fancy box library to display full image with pup up in ...
1
vote
0answers
63 views

Add Read more link in Summary view of Announcement web part sharepoint 2013?

I have added an Announcement Web part in my SharePoint 2013 in summary view I want to add read more link please help me. I am new to SharePoint Development I want to add a Read more link when my ...
0
votes
2answers
61 views

List Query - How to get attachments link

I have a query: function consultaPropostas() { var customlist ; var clientContext = new SP.ClientContext.get_current(); var oWebsite = clientContext.get_web(); var oList = ...
0
votes
1answer
29 views

The deployment type “TemplateFile” of file “xxx.js” in Project Item “Layouts” is not compatible

I have deployed my SP solution to farm successfully with some js files, those are added to layout mapped folder. Then I want the same solution to be deployed to SharePoint online. I just chaged the ...
1
vote
2answers
45 views

jquery in SharePoint 2010 layouts folder not working

I have placed the jquery library script in the layouts folder on my server: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\CustomScripts for what ever ...
0
votes
1answer
19 views

How to Determine if One or More Fields in Custom Edit Form have Validation Errors

So I have a DVWP with an Edit Form. The form uses jQuery tabs to organize the fields for the different roles that edit the item. I would like to show a message at the top of the form if at least one ...
1
vote
0answers
36 views

Dilemma… jQuery, SharePoint publishing page layouts, and dynamic page properties

Dilemma: I am trying to create/edit a publishing page layout with jQuery accordions that pull in dynamic page properties. When I implement my solution, it works; however, I am no longer able to edit ...
0
votes
0answers
128 views

Filtering MultiLookup Value Using SPServices SPCascadeDropdowns / SPFilterDropdown CAML Query Call

I need to filter a multilookup field in the list form and for that i am using SPServices lib, I have the following function call to SPCascadeDropdowns method of SPServices: /* FILTER LOOKUP - SP ...
1
vote
2answers
55 views

jquery to get xml, file urls ending with x_.000 instead of file name

I'm trying to return the URL of some attachments for a topic. I try to do the following to receive the url: $(document).ready(function() { GetFiles(); }); function GetFiles() { ...
0
votes
0answers
25 views

Recall all javascript libraries when a change on list is made

I have JS libraries such as jquery, knockout and also css called from master page seattle.master: <script src="HIDDEN/jquery.js" type="text/javascript"></script> <script ...
1
vote
1answer
66 views

How can I copy lookup field value to another site list in lookup filed?

How can I copy lookup field value to another site list in lookup filed? Situation, I’ve a main site list , list1 and there have lookup field from list11, I've build sub site and copy my list1 from ...
1
vote
1answer
81 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
35 views

How to load jquery using spBodyOnLoadFunctionNames.push function

I need to refer jquery in spBodyOnLoadFunctionNames.push function. I am doing it like below _spBodyOnLoadFunctionNames.push("Testfunction"); function Testfunction() { ...
0
votes
1answer
44 views

Saving content in a <div> with jQuery in SharePoint 2010

I have written a tiny bit of code that displays an information box for the users and a button to make this information box go away. I have placed the code snippet in a Content Editor webpart on the ...
0
votes
1answer
98 views

get data by id from other page using jquery ajax on sharepoint 2010

I'm trying to retrieve specific data value by id from other page on my site by using query ajax. by debugging on Chrome canary i have seen that I'm getting all the page data on dataAll ,and than ...
1
vote
2answers
49 views

Can't get jquery to work

I can get this block of jquery to work on basic HTML in Codepen However, it doesn't seem to be working when I try this on a SharePoint 2013 Publishing site. I embedded the CSS and JQ in my master ...
0
votes
1answer
27 views

Basic jQuery In browser Developer Tools not working

In both IE and Chrome for the past couple weeks, basic selectors and common functions are not working through my developer tools. Has anyone else had this problem and/or know what's going on? ...
0
votes
0answers
42 views

SP2010: Displaying CAML query results in XsltListViewWebPart

How can I get my CAML query to call the results on a XsltListViewWebPart in SP2010? Before I continue, 3rd party codes are not supported in the environment I'm working with and this particular page of ...
2
votes
1answer
60 views

Jslink field run function after field is rendered

i did registered function for custom field rendering with RegisterTemplateOverrides and my custom field render works quite nicely. Part of the field is input box for autocomplete, my issue is how to ...
1
vote
0answers
28 views

ListNav plugin and sharepoint list not working for me

Im trying to use this plugin to filter through an employee list but until i hard code the HTML its doesnt match any entries :( Im using ajax to write out the data to suit the html and im sure my ...
1
vote
0answers
192 views

Getting Calendar items on Office 365 using REST API

Hi SharePoint Ninjas, I am having trouble with a REST call using jQuery on Office 365 and was wondering if you guys have ever experienced something similar and could give me some hints? What I am ...
1
vote
1answer
197 views

How can I create Ctrl-F Functionality from a search field?

I have a long page on SharePoint 2010 that needs to be searchable for keywords on that page. Apparently the target group is "unable/unwilling" to learn Ctrl-F so I was asked to create a permanent ...
1
vote
2answers
251 views

How to pass parameter from modal popup to parent window

I have a parent window which is a Display page of a list item. This page comes as a result of some redirection with custom querystring parameters to it. one of the querystring parameter is ...
0
votes
1answer
46 views

Accordion on sharepoint 2013 depending on User Permission

For my Quick Launch jquery Accordion, I used this link : http://sharingtothepoint.blogspot.ch/2013/10/how-to-make-accordion-menu-for-subsite.html Everything works fine because I'm the administrator of ...