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

learn more… | top users | synonyms

0
votes
0answers
189 views

Setting value of a Sharepoint lookup column with more than 20 items

How can i set the value of sharepoint form field dropdown box(lookupfield) in sharepoint list form when the form gets saved (using jquery) Note: the lookupfield (dropdown formfield renders as input ...
1
vote
0answers
387 views

How to filter a list view by SP group membership (CAML, JS, anything)

I have a list. I need to filter the list view in SharePoint to show items: created by someone in current user's group show all to admin group I am using Infopath for the list's form view, and ...
0
votes
1answer
74 views

Show/Hide button based on User Email. Error: Unexpected identifier

I have a JavaScript which I use to hide or show a button based on the logged in user. Button: <a id="customAddNew" ...
0
votes
1answer
433 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 ...
1
vote
0answers
103 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 ...
1
vote
1answer
143 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
4answers
213 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 ...
0
votes
0answers
77 views

Show multiline field if specific select option selected

I'm trying to create a Note box to show up when an items status is set to cancelled. What I'm noticing in the html is that within a form, switching between options does change the html until saved. ...
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
2answers
616 views

Javascript fails in chrome and firefox, works fine in IE

I have this JavaScript code for my SharePoint forms which does not work in other browsers but Internet Explorer. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ...
1
vote
0answers
87 views

Footer does fill the whole width. Scrolling in document library

I have a problem with the footer not extending to the right side when scrolling to the right. (In a document library with way to many columns). Meaning the footer have a blank spot in the right side ...
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 ...
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
199 views

SharePoint Input Form Text Box Menus With JQuery Tab

The question is about mix of both JQuery Tabs and SharePoint Input Form Text Box. My client requirement is to have a web part zone on the top and couple more in the middle wrapped with div that JQuery ...
0
votes
0answers
52 views

SBS Silverlight Webpart Gets List Items, how can I send results to div on the page

So I have a Silverlight web part and instead of internally drilling down by changing the contents, I would like to query a list for the top 5 results (simple and down using COM), but make each result ...
0
votes
1answer
141 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
330 views

Hide weekend in SP2010 Calendar?

I'm trying to hide the weekends in my SP2010 calendar and all the sites online links to http://blog.pathtosharepoint.com/2008/12/17/calendar-weekdays-only/ I tried getting this to work and it seems ...
0
votes
2answers
249 views

Problem with jQuery Function for Expanding Grouped Lists

In my portal, I have a custom list that is using grouping. Now, I want to automatically expand all the groups, so I have mustered this javascript/jQuery function. I use a delaying function to load ...
0
votes
0answers
123 views

Graphing with JavaScript not Displaying Chart in Content Editor Web Part in SharePoint 2010

I'm trying to implement the use of jQuery's various graphing libraries (jqPlot in particular) to produce a simple graph (bar, line) onto the Content Editor Web Part, but SharePoint 2010 doesn't seem ...
0
votes
0answers
161 views

Edit Mode URL for page in Document Library

In SharePoint 2010 I'm using jQuery tabs to link multiple pages within a document/pages library together in the same sort of "view". I've gotten it working just fine however I'd like to add a link to ...
0
votes
1answer
266 views

Javascript Object Model REST/AJAX: does callback/resulting function have access to the id of newly created item

so if I use rest like method to create a list item in javascript, can I get the id of the newly created item in the callback/result function? function createNewRecord(url, body, callback) { ...
1
vote
1answer
113 views

Video files are downloading instead of playing [closed]

I've uploaded .swf files to a document library and the jwplayer.js file to the same library. From there I've uploaded an HMTL file which contains: <html> <head> ...
0
votes
1answer
563 views

Jquery is not working on sharepoint date time control

Hi In my application page i have a sharepoint datetime control. I am using jquery on text changed event to calculate the number of days and displaying in a text box. Now i want to fire the same event ...
0
votes
0answers
23 views

Add table with columns when a button is clicked in the New form

I have a table with two columns. When I click a add button, the table with the two columns should be added in next row, so that i can get another table with the same column features. I am trying out ...
2
votes
3answers
1k views

How to Create Piechart in sharepoint 2010 Based on the List item Values? Only using Javascript/jquery

I have a CustomList in Sharepoint 2010 as Mentioned Below.have two columns Team and Values of Team List A Team ValuesofTeam A 9 A 6 B 7 C ...
0
votes
3answers
1k views

Jquery to load dropdown on selected index change of another drop down in sharepoint 2010

I have 2 dropdowns. On Selected Index change event of ddlTaskFrequency dropdown i want to load another drop down. For example: If ddlTaskFrequency text= Daily or Weekly i have to load another ...
0
votes
1answer
452 views

Set the column width in GANTT view

When the GANTT view is being used, how could one resize the columns using jQuery without using the generated controlid (like in this example)? I'm looking for a way to do this in a re-usable ...
0
votes
4answers
342 views

Unable to call jquery on Application page in sharepoint

I have written a jquerwery on drop down selected fecthing it value ina label. It is not working in application page.Same is working in normal aspx page. Can you please help me what iam doing wrong. ...
0
votes
1answer
97 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 ...
3
votes
2answers
471 views

How to get Id of the selected listitem of dropdown field

I have a dropdown field which is a lookup containing values. I need to get the ID of the selected value whenever we change. I tried using the following. I didnt get any response $ ...
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 ...
4
votes
1answer
121 views

sharepoint 2010: javascript rest api not returning full decimal values, truncating to tenth

I have a list with a several columns that have number values to fourth decimal place, and I am using javascript com to get data via rest GET request and following simple callback function ...
0
votes
1answer
109 views

Get Businesses connectivity field Value in NewForm.aspx with Jquery

how can i get the Businesses connectivity field Value in NewForm.aspx with Jquery. i tried with this script: <SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="New" ...
0
votes
0answers
72 views

SP2007: Parsing GetUserCollectionFromSite response

I'm writing a javaScript that has the person name and calls GetUserCollectionFromSite to fetch the user's account name (DOMANIN\loginID) from the xml. It doesn't read the data in xml using ...
1
vote
0answers
104 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 ...
1
vote
2answers
319 views

jQuery.noConflict() and Sharepoint 2010 WebParts

I've made two webparts for Sharepoin 2010 with jQuery plugins fancybox (slider) and cycle (slider). I need to locate both webparts on one page. But it doesn't work. I tried to use jQuery.noConflict() ...
4
votes
2answers
493 views

Object #<Object> has no method 'showModalDialog'

Consider the following code: var options = { title: 'Create a new Post' autoSize: true, url: url } SP.UI.ModalDialog.showModalDialog(options); The code is executed from a ECB custom ...
0
votes
1answer
113 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
0answers
80 views

Mimicking Sharepoint Global Navigation popout

I need some help creating a custom global navigation bread crumb control. What i'm trying to do is mimic the behavior of Sharepoint2010s After modifying the css to get the popout to always display, ...
0
votes
0answers
199 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/. ...
1
vote
0answers
192 views

How to get the distinct values from sharepoint list using GetListItem and bind to dropdown?

I am Passing the XML for getting List item and binding to dropdown. Here i have shown the code.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ...
0
votes
1answer
460 views

adding jquery in masterpage

I am using jquery its loading it, but its not working. when I check the firebug console, I dont c any error, but in IE developer console. SCRIPT438: Object doesn't support property or method ...
1
vote
1answer
107 views

How to pass arguments to SPServices function request?

In SPServices library, I make a search request using: $().SPServices({ operation: "Query", queryXml: queryText, completefunc: searchComplete }); function searchComplete(xdata, status) { ...
3
votes
2answers
97 views

sharepoing rounded corner jquery plugin

I trying to using the jquery plugin of rounded corner, directly into the masterpage (v4.master) here is the code: <SharePoint:ScriptLink ID="ScriptLink1" Name="~sitecollection/Style ...
3
votes
1answer
106 views

SP2010 possible to create a text file in document library and fill with data from list using JSOM JavaScript/jquery

Is it possible to create a new item in a library and default that to a txt file or XML and using JavaScript or jquery insert data from a list into that file? For example from a page click a button ...
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
0answers
73 views

SP2007: Upload a file to data view of document library using JavaScript

I'm new to SharePoint 2007 and looking if someone can help me on this. I have a data view that displays basically documents in a library. I was asked to add an "upload file" functionality using ...
0
votes
0answers
125 views

SPServices Search - select first x items using sql type query?

I am using the SPServices library to make search requests in Sharepoint 2010 using this code: queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += ...