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

learn more… | top users | synonyms

1
vote
2answers
3k views

SPServices GetListItems don't work most of time

I'm using SPService in a list for take some information from an other list. It works just sometimes... I need to refresh lot of time before it works .... Here is my code : <script ...
0
votes
1answer
266 views

Ajax or jquery enabled Tab Zone Webpart with SourceCode

I am trying to find a TabZone Webpart Ajax enabled or using jQuery so that when I click on tab 2 while i am on tab 1 it shouldn't do a postback and make changes without loading page again. We are ...
2
votes
1answer
852 views

XsltListViewWebPart remembering state in cookie not working properly

I have a XsltListViewWebpart that shows a tree structure with nodes. I made a jquery script that sets a cookie which persists the state of the nodes (expanded/collapsed) between postbacks. I added ...
0
votes
1answer
632 views

Changing the background color of a Wiki page in SharePoint 2007

Can't find anything specific on this on Google, but I am looking to find a way to change the default white background color of the main content area in an individual SharePoint 2007 wiki page. I have ...
0
votes
1answer
382 views

Simple jQuery to extend page body if Quick Launch has been toggled SP2010

Beginner. I have a link that expands a single page onclick with the following jQuery: <script type="text/javascript"> var $j = jQuery.noConflict(); function toggleQuickLaunch() { ...
1
vote
1answer
257 views

Filter a list by a value in a User's profile

I would like to replace the functionality of the Current User Filter of SharePoint Server 2010 enterprise. I think I might be able to use SPServices.SPGetCurrentUser but I am unsure if it is ...
0
votes
1answer
889 views

How to find a document in a document library using jquery

I have a requirement to check for duplicate documents in the document library. How can i implement this using jquery. Please share the code.
0
votes
5answers
2k views

JS/jQuery Check if on root web of root sitecollection

How is it possible to check in JS/jQuery if the user is on the root site of the root sitecollection in the webapplication? (Sharepoint 2010) Thanks! Example: ...
0
votes
1answer
238 views

CEWP with Calendar New Form : hidding selections, setting all day by default

So I came across a cool trick first in a book, then on a blog (here!), but it doesn't work for me. It's straightforward enough, couple lines of javascript/jquery, and a cewp in order to auto-select ...
1
vote
1answer
432 views

__doPostBack disables my jquery code?

I am really struggling with a SharePoint page I am creating which contains a DataFormWebPart which pulls data and displays it in a table. The table has pagination controls like you would expect. I ...
1
vote
1answer
1k views

Loading script on every postback

I am trying to load a script (that remembers the clicked nodes for a xsltlistview in a jquery cookie) on every postback. The events when i postback should be: 1. save clicked nodes in cookie 2. ...
1
vote
0answers
336 views

How to get column data value in an array using Javascript (No .Net coding)

I am working on Sharepoint 2007 and I have a Sharepoint Document library having 3 columns namely : Type, Name, Modified BY. Column "Name" is having all the folders inside it. On clicking the folder, a ...
3
votes
1answer
879 views

jQuery autocomplete dissapears on postback

I'm using the jQuery autocomplete and this works perfect. But when I do a postback, it looks like the page "forgets" that there is an autocomplete on the textbox. Important to know: this textbox is ...
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
544 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
448 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
237 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
182 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
4k 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
416 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
1k 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
757 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
485 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
492 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
851 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
501 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 ...
1
vote
1answer
585 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
970 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
323 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
679 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
413 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. ...