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

learn more… | top users | synonyms

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 ...
2
votes
5answers
3k views

How can I hide allitems.aspx from curious people?

I have a custom ASPX page in WSS 3.0 which I use to capture email addresses. These emails are stored in a list called Notificiations using nothing but jQuery and SPServices. Because I'm using jQuery ...
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
4answers
4k 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
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
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
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) { ...
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 ...
4
votes
1answer
7k views

How to add jQuery to a single page?

I'm new to SharePoint. We have 2010. I want to use jQuery on a single page, not the entire site. What's the best way to do this? Can it be done without modifying the master page? Thanks!
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
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 ...
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> ...
2
votes
3answers
784 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 ...
3
votes
4answers
4k views

jQuery and SharePoint 2010 - How can I tell is the page is in edit mode, using javascript?

I have some javascript in a CEWP that I want to execute only when the page is in display mode. I've used firebug to scour the page for some "msEditMode" type of variable or something I can rely on. ...
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 ...
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
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 ...
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
4k views

Using GenFireServerEvent(('__commit;__redirect={/}')) in JQuery function on SP2010 Page

I have a custom Submit button on a custom NewItem form. I have a JQuery function which I would like to run when this button is clicked. I also need the GenFireServerEvent(('__commit;__redirect={/}')) ...
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
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() ...
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
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 ...
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" ...
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 ...
1
vote
1answer
615 views

Create Publishing Page using Client Object Model (Jquery)

I am trying to create a publishing page (site page) using SharePoint 2010, Jquery, Client Object Model. Any reference or help will be appreciated. Let me know if any more details are required.
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 += ...
0
votes
1answer
60 views

How to set a search scope in SPServices search function?

I am doing a search using this code: var queryText; queryText = "<QueryPacket xmlns='urn:Microsoft.Search.Query' Revision='1000'>"; queryText += "<Query>"; queryText += ...
0
votes
0answers
73 views

How to add an Enterprise Keywords column to a existen list or library using jquery?

I can add new columns for common fields per example text, metadata etc. But I want to add Enterprise Keywords to my list automatically, this is a little reference about enterprise keywords. Source ...
1
vote
1answer
419 views

How to filter by only pdf files in querypacket?

In a query packet used in SPServices to do searches on Sharepoint 2010 using jquery, I want to filter the results to only .pdf documents. How can I do that? The below shows all types of files... ...
0
votes
0answers
88 views

Getting error when doing a search with SPServices

I want to run searches with jquery and spservices library. This is what I have so far: <script type="text/javascript" src="/js/jquery/jquery-1.10.1.min.js"></script> <!-- <script ...
0
votes
1answer
709 views

Populate MultiLookupList : Remove Item

On http://weblogs.asp.net/bsimser/archive/2013/02/20/defaulting-values-in-a-multi-lookup-form-in-sharepoint.aspx I found some nice code to pre-populate a multilookuplist (and remove the selected ...
2
votes
2answers
224 views

SP2010: Get all library names within a site using javascript client object model?

How do I get the names of all libraries within a given site using jquery/javascript? the only way i know of is using getByTitle('listtitle'), but I would like all names of libraries (hopefully there ...
0
votes
1answer
226 views

sharepoint 2010 rest api javascript error: 5009 sys is undefined

I am running into something that I haven't really seen before, and I have been using this approach quite a bit lately for a variety of pages. SharePoint 2010 javascript using REST API to grab data: ...
0
votes
0answers
284 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 ...
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
0answers
103 views

Possible to read values from file (.doc, .ppt. .msg) in library using javascript/jquery

Is is possible to read values from .msg file using javascript/jquery (or some other mechanism like workflows, etc) that are in library in SP2010? I know I can read values from a xml file, curious if ...
1
vote
1answer
97 views

Omitting SharePoint Special Character

I am using a SPServices (jQuery Library for SharePoint webservice) to grab list items. I have managed to get the data as follows: <z:row ows_Date_x0020_From="2013-06-03 00:00:00" ...