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

learn more… | top users | synonyms

0
votes
3answers
20 views

Toggle div with jQuery in Display Template

I am building a display template in sp2013. I have a control template and a item template. In the item template I have some mapped properties. I show a list with titles. When you click on the title ...
2
votes
2answers
46 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 ...
2
votes
2answers
39 views

In jquery rest result for person object as a [object Object]

Would it be possible to get a Person or Group type as a string rather than and [object Object], I am handling everything within the front-end with REST calls to listdata.svc URL's. CODE // DISPLAY ...
2
votes
2answers
690 views

How to modify the sharepoint 2010 NewItem2 function?

In sharepoint 2010, I want to add javascript to the alerts popup window page, but I don't want to modify the actual layouts file. I want to dynamically insert javascript in it. Basically the button to ...
1
vote
2answers
425 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/'>" + ...
1
vote
2answers
360 views

Jquery clickable Tooltip inside SharePoint WebPart

I have a requirement in which when ever user hover over a text(hyperlink) a tool-tip should appear that should contain images which are clickable using JQuery $('.cover_beholder').hover( function ...
0
votes
2answers
141 views

Edit Calendar webpart with JQuery on page load

I've been struggling for a few days now trying to solve this problem. I have a calendar app part on my page that is taking up too much space. The requirements for the calendar are that it just ...
0
votes
2answers
275 views

Autopopulate textbox value when a dropdown value is selected

I have two column country(dropdown) and Region(Textbox). When i select a value in country the respective region value should be populated in textbox. I have separate list containing the columns ...
0
votes
2answers
62 views

JQuery on SharePoint 2010

What are the business case scenario when JQuery controls are used in CSOM programming in SharePoint 2010? I mean what are business case scenario when JQuery frequently used in SharePoint 2010? Which ...
0
votes
2answers
280 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 ...
0
votes
1answer
391 views

SPO - /_vti_bin/lists.asmx returns Error 500

I am currently developing a news scroller/ticker in SharePoint Online (Office 365) and am using the follow script to access a list: var emptyResults = "<li>No current ...
0
votes
1answer
430 views

SPServices - GetRolesAndPermissionsForCurrentUser

I have a list where one group of users is not allowed to delete items but they have view and edit permissions. All items in the list contain an attachment. However, users are not allowed to delete the ...
0
votes
1answer
163 views

jquery validation : save conflict error should popup when user tries to add similar data

When a user tries to add data for two fields which were already selected in the previous new item, it should not allow the user to save, validation error should be thrown.. Sharepoint should check ...
0
votes
1answer
198 views

Set value of choice field based on input from people picker

I have Choice Field which i use to filter items within a list. I'm trying to figure out a way to set value of this choice field within my edit form is there is a name in the people picker field. ...
0
votes
1answer
154 views

jquery is not working on panel hide on post back

Hi I have created sharepoint application page and i have a Dropdownlist(ddlTaskFrequency). On dropdown text changed(Monthly) i have written a jquery code to show panel2 and hide panel1. it is working ...
0
votes
1answer
140 views

Getting error “Object doesn't support property or method 'commitPopup'” when saving a new alert in SP 2010

In my SP 2010 environment, I have a html page, that has an iframe, and the iframe is the page where you create a new alert for a list. In the html page, I dynamically create the iframe and then insert ...
0
votes
1answer
96 views

How do i declare array for the lookup column using jquery

How do i declare array for the lookup column using jquery. I have a column whose values should be declared as array. so that my requirements get it complete. I need that ID for every values to get ...
0
votes
1answer
112 views

How to use REST with the search service?

I am currently using SP2010 and spservices to make SOAP requests for search. I am doing this client sided using javascript/jquery . But now I want to use REST and still on client side. This is my SOAP ...
0
votes
1answer
176 views

How to get the list item column values based on the html drop down and display in the alert box using Javascript?

I have a html dropdown list(team name) which contains three values A,B,C I have a sharepoint 2010 List A which contains Team name and Email. List A Teamname Email A A@test.com B ...
0
votes
1answer
45 views

Designing a Sharepoint Workflow Distribution list filtered on column values

I'm working on putting together a Sharepoint site to report issues with a new software that is being implemented by my company. I already have a workflow that automatically sends an email to specific ...
0
votes
1answer
35 views

Load All Task Items in to Page?

I have Task list in home page containing multiple task items, Is it possible to approve multiple items at once, instead of one at a time (being redirected to the start page after each approval..) ?
0
votes
1answer
126 views

SharePoint; Javascript repeating click event already on page

I have a SharePoint calendar, and I've got some Javascript code to force a calendar overlay event to open in a modal dialog. Basically, it forces them to open in a modal dialog via this code: ...
0
votes
1answer
62 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 ...
0
votes
1answer
104 views

Hiding “half” of the New button in the SharePoint ribbon

I built a calendar with multiple content types. What I'm basically trying to achieve here is to force a user to choose from those content types when creating a new item instead of defaulting to the ...
0
votes
1answer
148 views

Only View Document Library + should not be able to open document

I have a requirement for a set of users on the site to have permission level. When these users open the document library, they should see only metadata columns and title without the hyperlink or ECB ...
0
votes
1answer
129 views

Hide 'View Item' link in preview window in sharepoint asset library

I need to hide 'view Item' link in pop up (shown below) from preview window. I uploaded a video in asset library. As per requirement users should not download videos from library. How to hide or ...
0
votes
1answer
161 views

Object Expected error in Non Edit Mode only

I have an issue with Javascript errors (Object Expected) in normal mode while it works in Edit mode. Its failing on the last line shown below. $(document).ready(function() { updateListItem(); }); ...
0
votes
1answer
126 views

how to load custom menu last

I have a share point site i noticed the menu loads slow.its a customized menu based on a list and jquery.I load the script on my masterpages I would prefer this menu to load last after all the other ...
0
votes
1answer
251 views

create my own jquery form from sharepoint designer 2010

How can I create my own custom jQuery form from within SharePoint Designer 2010, with my own validation tactics for the form, and my own post data processing with Ajax? Any good tuturials out there?
0
votes
1answer
44 views

Retrieve name of selected/clicked item of a custom list using jQuery

How to retrieve the name of selected/clicked item of a custom list using jQuery.
0
votes
1answer
229 views

Sharepoint 2010 <Status>ERROR_NO_AUTHORIZATION</Status> jquery search,asmx

I have a subsite with unique permissions. Users do not have access to the root, site. This site has jquery ajax people search which performs a search.asmx. This fails. even if the path to the ...
0
votes
1answer
171 views

SPServices: Using variable as column name - possible?

When using SPServices, is it possible to use a variable to specify the column to be updated? res = lists.quickUpdateListItem('MyListHere', { ID: ReqD, columnVar : userName }); In the above ...
0
votes
1answer
268 views

Sharepoint people and group field validation

How to validate that users selected in three different people and group fields are different and no two of them are same i.e. each selected user is unique. Jquery check solution works but fails on ...
0
votes
1answer
661 views

Get Mysite Profile pictures using jquery

Using Sharepoint 2007 Have JQuery and SPServices.js available. I need to be able to gather profile pictures (or just the URL whichever is easier) from a users MySite. It will be a dynamic list of ...
0
votes
1answer
268 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
230 views

Toggling listview web part content source

I'm trying to construct the following user experience. There's a set of links, let's say are in the content editor web part, which control which document library is display below. How would you go ...