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

learn more… | top users | synonyms

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 ...
0
votes
0answers
559 views

how to handle jquery effects after pagination

I have a jquery effect that manger hover events on images in a Data View Webpart. When the page loads the hovers work find in the table. But when I click next to paginate to the next set the hovers ...
1
vote
2answers
455 views

How To Get Site Title From URL in other web app

I have a situation where I need to retrieve the site title for a site in another web application using client side scripting. Client site JQuery SOAP calls to the "Webs" web service returns the ...
3
votes
2answers
2k views

How to set Taxonomy Control using jQuery

I have a list with managed metadata column. In the new and edit form, I would like to set the value of that field using javascript. Is it possible to set the Taxonomy Control ...
1
vote
2answers
243 views

Re-executing JQuery Function on List Manipulation

I have the following JQuery code entered into a content editor web part which does some conditional formatting on the table cell of a list. The trouble with this is that it executes fine on document ...
0
votes
1answer
184 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 ...
2
votes
1answer
5k views

jQuery & SP2010 : Upload document to library using jQuery?

I built a custom form that saves the data to multiple lists with on click; it works pretty well for its intended use (keeping the data related). Thing is I am totally new at jQuery and SPServices, but ...
0
votes
2answers
2k views

How to get SPSite aka SPWeb property bags using ClientContext? [duplicate]

Possible Duplicate: Grab a specific property bag using ECMA script I would appreciate if some paste a sample code to get the property bags values using ClientContext?
1
vote
2answers
1k views

Accessing list data from another site collection or web application using REST services?

I have a list (Links template) of URLs that is on a site collection and I was wondering if it is possible to include this list as a jQuery megamenu on another site - ideally another web application on ...
2
votes
1answer
5k views

SPServices: trying to learn how to use this and jquery, help with example

So I am trying to learn these both as I read nuthin but great things all over the place about them. So this is what I have from example on codeplex: <script type="text/javascript" ...
1
vote
1answer
2k views

sharepoint 2010 upload file to document library using jquery

Hi all using jquery i want to upload file to solution gallery. so is that possible to upload file in solution gallery using jquery. how? another thing is it possible to upload file in document ...
0
votes
1answer
1k views

Google charts disappear on refresh/F5 of a browser

I have a Sharpeoint list which gets updated everyday. From that list I made dymanic Bar graph to display the data. Graph is working fine but I am encountring issue on Refresh or F5 of a browser. Once ...
1
vote
1answer
433 views

CAML query and jQuery to retrieve last item's fields

I want to get list item fields where its the last item that the same user created. Then I want to populate the newform.aspx with some of these items. I'm mainly stuck with the query and how to write ...
2
votes
0answers
2k views

Why Sharepoint FormField's ID is parametrized and how it can take different values after its initial creation?

In SPD 2010, on designer surface of a web part page I insert DataFormWebPart by: "Current Data Source" ("Data Sources Details" Task Pane) --> choose rows --> "Insert Selected Fields As.." --> "New ...
0
votes
1answer
777 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
2answers
1k views

Targeting Sharepoint form drop down

I have a newform.aspx created through SPD. Its already contains a drop down list. <SharePoint:FormField runat="server" id="ff4{$Pos}" ControlMode="New" FieldName="Enquiry_x0020_Type" ...
0
votes
1answer
1k views

Prepopulating a value in NewForm.aspx

I am sending a query string into NewForm.aspx. I have populated a drop down with that value. Everything works great in Chrome but Internet Explorer does not save the pre-populated value. The value ...
0
votes
2answers
506 views

client object model and jquery not loading — sort of

I'm getting some data from a list via the client object model. After I get the list data, and the page loads, I want to use a little jquery to add a hover effect. Easy enough, right? Well ...
7
votes
4answers
2k views

How to access a Web application/Farm level property bag via jQuery/Javascript/ClientContext

It it possible to access the Web application/Farm level property bag using jQuery/Javscript/ClientContext? If not, then what are the possible alternatives to access Web Application Farm level property ...
0
votes
0answers
509 views

Show/Hide Fields (as in “add more”)

To no avail, I have tried to use jquery to show and hide fields based on the value of a calculated field. It works on NewForm, EditForm, but on DisplayForm. I used ...
3
votes
1answer
879 views

Hide upload Button on Asset Selector Dialog (AssetPortalBrowser.aspx)

I am looking to hide the "Upload" button in Asset Selector Dialog and I know Asset Selector Dialog uses Dialog.master in SharePoint. Is there a possibility to attach some custom jQuery/Javascript ...
3
votes
3answers
511 views

jquery projects and visual studio best practices?

Just curious how others are handling their jquery related solutions. It's obviously very easy to add a Content Editor web part with a content link to a source file. That file could have your ...
2
votes
1answer
600 views

Content slider in jQuery doesn't function properly in webpart

I have created a test HTML page that contains the code for the web part in question. From the test page, I can use the scrolling feature just fine as it works as expected. When I take the same code ...
0
votes
1answer
1k views

Hide the upload multiple file option in document library sharepoint 2010

How do i go about hiding the "Upload Multiple Files... " option in document library using jquery?..i do not have access to the sharepoint designer so only with content editor webpart i have to do ...
-1
votes
2answers
1k views

Disable the Drop down column based on the text value…!

I am working with SharePoint 2010 form library. I have a drop down column which is dependent on text input column value . The value in the Text input column comes from the infopath form. What i ...
1
vote
1answer
992 views

RTE markup and Page Layout javascript error

Okay, so I have been running into this issue way too often now and it's starting to really irritate me and I have no idea what triggers these errors. I have made a custom masterpage for my SharePoint ...
1
vote
1answer
5k views

Getting 401 error when connecting to the list.asmx web service using JQUERY

I'm attempting to do a pretty straightforward query to the list.asmx web service and I keep getting a 401 error. I've spent a couple of hours attempting to solve it with no luck. My jQuery Code: ...
0
votes
1answer
337 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
2k views

SPServices UpdateListItems Will Not Update Target List

I'm trying to copy items from a list in one site and update/paste them into a list in another site, but I can't get it to work. Please help. I have my references to jQuery and SPServices in the master ...
1
vote
2answers
1k views

SPServices.SPComplexToSimpleDropdown Not Saving Value in IE

ok, first off this works in FF, Chrome and Safari, but does not work in IE. What I am doing is converting the complex dropdown to a simple dropdown using SPServices Auto-populating the projects ...
1
vote
3answers
2k views

How to get a value dropdownlist selected after using windows.location

This is my snippet code here.I'm getting some column values from shrepoint list to a dropdpwnlist.But i would like to append the values to a url when an option is selected. So thayt i can use it to ...
2
votes
3answers
703 views

Can a web part prevent master page jQuery from executing properly?

I'm including jQuery and a custom .js file into the master page of my SharePoint 2010 site. In the $(document).ready() function, I'm setting a live event handler on an element in the header of the ...
1
vote
1answer
1k views

Use existing Modal Popup

i was wondering is there is a way to use existing modal popup already use by the sharepoint site and override their callbacks ? Thanks
2
votes
1answer
428 views

Using Sharepoint Modal

we are implementing a feature in sharepoint where the user can share documents, we are reworking our own UI to make it easier for the end user. We have a modal popup where you can select multiple ...
0
votes
1answer
143 views

Sharepoint Column Totals to User - Value defined by status

So I have two list databases. User Points User Submissions These two databases work together. A user 'submits' for points in a status of 'submitted'/UserPoints[PendingPoints:Column] once 'approved' ...
0
votes
1answer
2k views

Getting list length from caml query

I am currently trying to determine the length of a list that is located on my SharePoint site. I am using a Caml query to retrieve the items in my list, but I can not figure out how to get the length ...
0
votes
2answers
3k views

How can I retrieve list items from a subfolder using spservices?

I have a document library with subfolders containing images. I'd like to traverse the subfolders and grab the URLs of those images so that I can display them on my little js web app I'm whipping up. ...
0
votes
4answers
520 views

How to know if JS file has been registered in a visual web part?

Let me explain the situation: I have a Sharepoint 2010 solution in VS that contains: Some Model classes A LINQ-to-SQL data context A WCF REST service 3 Visual web parts The web parts calls some ...
3
votes
1answer
10k views

Where to put javascript files, problem with _layouts

I'd like to add jQuery and SPServices. I added the following code: <SharePoint:ScriptLink runat="server" Name="/Style%20Library/Scripts/jquery-1.7.2.min.js" ...
0
votes
1answer
1k views

Custom WCF service in Sharepoint 2010 returns 401 Unauthorized

I've followed this guide to create and deploy a custom WCF service in Sharepoint 2010 to be consumed in a Visual Web Part using jQuery. The WCF service's method does several things: Make use of ...
0
votes
1answer
549 views

Soap, Jquery, Ajax and an Error

Ok, here is what I am trying to do. I have a list on another site. I have successfully connected to the site and pulled in the list as a dropdown using soap, ajax and jquery. However, once I try ...
0
votes
3answers
2k views

Override Top Navigation Hover Effect

I would like to add some JQUERY effects to my top nav when a user hover overs the top link..specifically a delay and slideDown with easing effect. Is there a way to simply override the existing code? ...
2
votes
1answer
441 views

How do I trigger off of the ribbonbar being shown/hidden?

When the ribbon bar is visible (i.e., not in Browse mode), I want certain things to happen on my page (mostly involving changing styles of some items). How do I determine if it's visible or not or ...
0
votes
1answer
2k views

Using jQuery add cascading dropdown to newform.aspx page of list

How can I add cascading dropdown to newform.aspx page of list using jQuery. I tried SPServices from codeplex but it's not working. Can anybody please guide me. Thanks
0
votes
2answers
808 views

Remove Duplicates in DVWP using JQuery

I am using a linked datasource in MOSS to create a dynamic table of contents page based on a metadata associated with files in a document library. The library contains multilookup columns for the ...
0
votes
4answers
2k views

JQuery in a Visual WebPart won't load on the page with the webpart

Hey I have a bunch of JavaScript/Jquery code that works really well when I use a Content-Editor webpart, but does not execute when I add the same code to the VisualWebPart mark up. I am referencing ...
1
vote
1answer
3k views

How can I pass a Query String variable into the CAML of a jQuery script?

I'm using Marc's SPServices jQuery library - the SPFilterDropDown script - to filter the items in a Lookup multi-select field on a New Item DVWP. It works fine if I stick some static text in there - ...
0
votes
2answers
2k views

jQuery addclass and remove class not updating properly

I have a SharePoint ASPMenu in a MasterPage, I;m trying to change the selected style class using jQuery. Basically when user click a menu item it will cause postback so that the page will be directed ...
1
vote
1answer
775 views

Opening a webpart from a separate page in modal form

I am an IT schoolboy who is on an 8 month apprenticeship. I have been charged with creating a little sharepoint site for our tiny group in the company I am working at. I have site collection (is that ...
0
votes
1answer
812 views

On a SharePoint list view with filtering, I want to apply jQuery to the filter list, which isn't built until the user clicks the menu

This project is in MOSS, using jQuery 1.6.1. The basics of what I need: When the user filters on a date field, the value of the filter option needs to be "yyyy-M-d" while the text is "M/d/yyyy." ...