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

learn more… | top users | synonyms

1
vote
1answer
335 views

A script on this page may be busy, or It may have stopped responding

there is one webpart on page that rotate the images so i added a jquery to rotate images and its working fine but after sometime it gives error like A script on this page may be busy, or It may have ...
0
votes
1answer
411 views

Hiding Column on a List View with Grouping

I have a list that I need to dynamically hide columns on based on user. Sort of a rudimentary Column Level security type deal. This is being done through Javascript and JQuery to simply not display ...
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. ...
1
vote
1answer
47 views

Display loading/processing while processing using CSOM

My current implementation includes following, User adds an item, once saved it is redirected to the display form of the same item. I have implemented this requirement using below steps. On ...
1
vote
1answer
1k views

set multiselect lookup column using jquery

I have a Multi select Look up column which as you all know is a control with two list boxes and "Add or Remove" Buttons. The user populates the right-hand side of the control with some values by ...
9
votes
2answers
603 views

Opening and closing AssetPortalBrowser.aspx in SharePoint modal popup

I am trying to open the "OOB" AssetPortalBrowser.aspx from a page within a SharePoint native modal popup. My aim is to get the selected filename back to the script. So far I was able to open the ...
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
1answer
53 views

Sharepoint 2010: Search list without a multiple filter, jQuery

I need to do a customized search for SharePoint. It needs to search in all the columns and rows of the list without having to select the column, in other words it cannot have filter. I cannot edit the ...
0
votes
1answer
43 views

How to extract data from the list and put it in the form using jquery

I want to extract data from the list and put it in the form using jquery! I succeeded to know how to import data from "Last Name" and "First Name" of the list into text fields "Last name" and "First ...
0
votes
1answer
61 views

SP2013: Custom script interfering with OOTB ribbon controls

I've got a weird one here, and my JavaScript/SP2013 skills aren't up to the task apparently. I've got a custom script that I made by bashing together other scripts & snippets from around the web. ...
5
votes
3answers
168 views

Updating a single list item based on relative URL

Is it possible, using SPServices, to update a specific list item when all I have is the file path? For example, I have a file located at /site/library/folder/file.txt and I want to update a single ...
0
votes
1answer
27 views

Differentiating CEWP Headings

If I have a web part page with a number of Content Editor Web Parts and Custom Lists attached to them, how would I go about visually identifying them? Changing the display txt isn't an option as ...
1
vote
1answer
39 views

Did the hidden input for dropdowns change?

Recently we had a Windows Update applied to our SharePoint server (Foundation 2010 SP1). We use the jQuery and SPServices libraries extensively. After this update almost all of our custom pages ...
2
votes
2answers
123 views

How can I ScrollTop in SharePoint 2010 with JQuery

I try to scroll the SharePoint page after the page loaded. Using the following code: $(document).ready(function(){ $('html, body').animate({scrollTop: $('#WebPartWPQ1').offset().top}, 1000); }); ...
1
vote
2answers
65 views

jQuery not working properly

In the editform.aspx of an item, I am trying to use jQuery to cause a pop up to go off anytime a field is changed (sort of silly, but once I get this to work, I plan on moving to doing more). However, ...
1
vote
0answers
56 views

How can I display user picture from sharepoint in datatables

Sorry if this is stupid easy but I'm trying to display user pictures from sharepoint in datatables. I can see the link in JSON data coming back from the ajax query in the "Picture" field so I added: ...
2
votes
2answers
112 views

Get List Item ID from NewForm.aspx

SharePoint 2010 Enterprise Version I have a Custom List and i have created a copy of NewForm.aspx and saved it as CustomNewForm.aspx. When I save the item i want to get the saved items ID and ...
4
votes
3answers
135 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 ...
1
vote
2answers
79 views

SharePoint Parent/Child List form

I'm using SharePoint 2010 standard edition and I want to create a Parent/Child list form. I noticed that Query string webpart is part of enterprise edition as shown here http://bit.ly/1tF8rkG and ...
1
vote
1answer
979 views

How to read image file from a URL and save the image in image library in SharePoint 2010

I have a form, and that form has a field for a Picture and a Thumbnail which are currently Single Text fields. What I would like to do is when people input a URL on those fields, I would like to get ...
0
votes
0answers
301 views

Getting error when doing a jquery ajax funtion to a webpart aspx page

I want to send data using ajax from jquery to c# (note: im sending request to the same page). I am following this tutorial http://encosia.com/using-jquery-to-directly-call-aspnet-ajax-page-methods/. ...
0
votes
1answer
38 views

Move the 'Add new Item' button to the top of a specific webpart

I have a page with multiple web parts. Now I'm trying to move the "add new item" button on top of a webpart after the web part title. I did this using jQuery, using the unique web part I want, but ...
1
vote
1answer
112 views

how to get a <td> value after clicking the row [closed]

I want to get the third column in a selected row. my jquery is $(document).ready(function() { $(function() { $("#dialog").dialog({ autoOpen: false }); ...
2
votes
2answers
196 views

Sharepoint 2010 javascript client object model - downloading items and item attachments?

Is there a way, so that you can download the items from a list and all its item attachment files in one context call? Currently I am downloading all the items, then looping through each item, and ...
0
votes
0answers
30 views

jquery cascade is acting up. All of the sudden the child and grand child does not match from edit form to view and view properties

I am attaching 3 print shots for editform, view properties and view. The view shows category, subgroup and subtypes which does not match edit form values. The values in the edit form are correct. What ...
2
votes
2answers
95 views

Customize a SharePoint 2010 survey required field user message

I've created a survey with rating questions and branch logic and most are required fields. Any suggestions/ideas on how to use Javascript/JQuery to change the OOTB required field user message "You ...
1
vote
2answers
80 views

function(xdata, status) explanation - SPServices jQuery

I have recently started learning SPServices library. So if this sounds like a silly question, forgive me. I notice these lines in almost all the examples: completefunc: function(xData, Status) { ...
0
votes
0answers
24 views

Jquery plugin to show videos from video library in sharepoint 2010

I have video library where more than 10 videos have been uploaded. I want to show video list on my page and let user select video to play from that list. any jquery pulgin.? i got some plugin but ...
0
votes
2answers
90 views

How to find current logged in user alias not username in SharePoint 2013 using javascript or jQuery?

I am using _spPageContextInfo object to get currently logged in username in SharePoint 2013.In this process first i will get userId value and then i will make an ajax call with this userId value and i ...
0
votes
0answers
16 views

Default Title from filter applied in connected list WebPart

I have a WebPart page with two lists. One for an Event and another for an Action on that event. They are connected by the Title field (so the user would click the double arrow by Event 1 and all the ...
1
vote
0answers
26 views

Sharepoint 2010 metadata filters- Driving from a link or script

The "old style" list filters in Sharepoint List views (e.g. when the user clicks on a column to filter or sort on column values) use an http GET, so the filter paramaters are transmitted in the page ...
2
votes
1answer
69 views

Form validate - New item

I have a list on Sharepoint, and when some user add a New item, I need to validate fields... I would like something in jQuery... something that if the field is not validated, it shows a msg error and ...
3
votes
1answer
160 views

How to get ClientPeoplePicker value using javascript

can anyone please tell me, How to get ClientPeoplePicker value using javascript.?
0
votes
1answer
634 views

Check to see if location exists in sharepoint 2013

I'm developing an application and a part of it involves storing user submitted documents to a document library in sharepoint. Each folder in the document library is identified by the User ID. And ...
2
votes
4answers
5k views

List driven Scrolling Marquee

I had a friend ask about this and I wasn't sure so I thought I'd test your metal. What would be the best route for applying a scrolling marquee to a page that is list driven? Perhaps the better ...
0
votes
3answers
106 views

Could JQuery or JS disable core.js?

I have a strange situation. I using the code below in a Java Script file and referencing it from CEWP. For some reason, I can't do Page or Site Action Edit anymore, it does not do nothing. However, if ...
0
votes
2answers
30 views

Apply jquery to personal sites

I am adding jQuery to sharepoint like this: <SharePoint:ScriptLink ID="ScriptLink6" language="javascript" name="~sitecollection/Style Library/jquery.min.js" runat="server" OnDemand="False" ...
0
votes
1answer
46 views

changing the intialprompt searchbox webpart javascript/jquery

I have a page_layout in which I plan to be used by many pages, this page layout has a searchbox webpart, at the moment it has a generic 'Search...'. However what I want is to change it so it says ...
0
votes
2answers
35 views

Inconsistent ExecuteOrDelayUntilScriptLoaded(function () behaviour in my pages

My users are reporting some strange behaviour with some pages created with the same custom layout pages and custom master page in a sp2013 publishing site Essentially, I have function referenced in ...
0
votes
1answer
61 views

Filter DataView web part using SPServices

Ok, this is the issue: I have a Data View web part which I would like to filter depending the "office" the user logged in belongs. I can get this using SPServices (GetUserProfileByName): JS ...
0
votes
0answers
75 views

Errors Implementing jQuery UI Tabs in a Sub-Joined Data View

I am trying to implement jQuery UI tabs onto my site using a subjoined data view, but I am experiencing some issues. I believe it has to do with my XSL markup, but have been hitting my head against a ...
4
votes
2answers
51 views

Dynamic order Numbering based on the view in sharepoint library 2010?

We are trying to do in this library, is create a column that will provide the “order” number of the listed item, per view. So in one view there may be five items that show and they need to be ...
0
votes
1answer
319 views

About SharePoint 2010 “select” column

I have a question related to "select" column. The "select" column little arrow to select an item, I wanna set the color to blue or any other color, when user select the arrow. Any ideas.,really ...
0
votes
1answer
84 views

Linking an Excel document to a List

I have an excel document which is sent daily to me. I have a SharePoint List that is then update daily by me with all the excel documents information (complete overwrite each day). The list is used ...
1
vote
3answers
751 views

SharePoint 2010 web service - GetListItems not working in Chrome & firefox

function GetListItems() { var soapEnv = "<?xml version='1.0' encoding='utf-8'?><soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>" + ...
0
votes
2answers
35 views

how to give popup for a panel?

I have panel control in my web part. I used some 10 controls in this panel with in a div so I need to show this div in the popup .so which I need to keep in popup either with panel ID or div ID. ...
0
votes
2answers
279 views

Expandable lists that expand and collapse with one click

I have a lot of text based lists on one page, so I threw them into content editor web parts so i can expand / minimize the lists. However, two clicks (one on the arrow and then one on "restore") is ...
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
99 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

Does GetListItems not work with content types?

I have been trying to use GetListItems using jquery and SOAP to fetch data from a list. The list does not have an 'item' content type but is using two other site content types (both inherited from ...