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

learn more… | top users | synonyms

4
votes
2answers
2k views

JQuery Accordion with SharePoint 2010 Custom List

I have a FAQ custom list in Sharepoint 2010 with two columns: Question (title column renamed) and Answer. I want to display the questions and answers from the sharepoint list in JQuery Accordion. ...
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 ...
1
vote
1answer
500 views

SharePoint DateTime field as Read-Only

How to make SharePoint DateTime field as Read only in NewForm.aspx? I'm using the below script to make DateTimeColumn as read only. It's working fine in firefox & not in IE9. Calendar icon ...
1
vote
3answers
652 views

SPServices/JQuery How to Detect If The Current User Is System Accout

I need to detect if the current user is system account. With SPServices i can find user login name: var thisUserName = $().SPServices.SPGetCurrentUser({ fieldName: "Title", ...
-1
votes
1answer
175 views

Display Calculated column in List NewForm

How to display Calculated column in SharePoint List NewForm.aspx?
1
vote
1answer
151 views

SharePoint DateTime format as DD-MMM-YYYY in List NewForm

How to bring the DateTime format as DD-MMM-YYYY in SharePoint list NewForm.aspx?
0
votes
3answers
1k views

'SPServices' is null or not an object

I need to find out if logged in user belongs to a specific sharepoint group (2010). I am using below code to get it. but getting javascript error as 'SPServices is null or not an object'. ...
2
votes
1answer
204 views

Jquery adds Multiple attribute IDs to Content Editor web part source

I’m currently performing a migration of our CMS from MCMS 2002 to SharePoint 2010. One of the MCMS templates allowed the users to add their own CSS and scripts. So that the scripts and styles are not ...
2
votes
1answer
523 views

ECMA/js CSOM retrieving items from multiple lists with async processing? how?

I am struggling with javascript and learning callbacks, and applying this to SharePoint 2010 specific js/jquery methods of getting and savings values from lists. So I am recently getting into the ...
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
3answers
642 views

jquery client object model to return json: what about caml vs. js filtering?

trying to learn client object model (ecma/js/jquery) approach to returning json data and working with that. below I will supply a quick example, but my question is basic context of how would I go ...
1
vote
1answer
782 views

JQuery Ajax Post method not working with Sharepoint 2010 URL

I'm trying to send some data to an aspx page by clickin on button but it doesn't seem to work by using jQuery Ajax Post ,however if I just chage the ajax type to GET it works fine ! but I do really ...
0
votes
1answer
2k views

Jquery + Instant Search / Filter of a list

I've seen a clip on bentedder.com where this developer got instant search (filter) to work within a webpart list view. I find this may be very useful for general 911/411 annoucements and archive if i ...
0
votes
3answers
626 views

javascript issue in sharepoint

I am having issues making a javascript work. Basically i just use this script for different web parts which have the .q1table class to insert some other classes. I am getting an error uncaught type ...
1
vote
1answer
431 views

Set data to Sharepoint Gridview from List and remove appropriate selected columns

I am using c# and I have a SPList with fields such Title and Translation. I want to set Word and Translation into SPGridview. I can retrieve data from my List: string translation = ...
1
vote
3answers
206 views

A custom timer job to show a client side coded popup monthly

In my current project, I have been told to design a custom timer job which will run once a month and display a popup(which I'm planning to show as a modal dialog coded in jQuery). On clicking the ...
2
votes
1answer
146 views

How to create custom email notifications (folder specific) in a document library?

I have a SharePoint 2007 site which has a document library with several folders. My requirement is that whenever an item is uploaded to a folder, SharePoint should automatically generate an email ...
3
votes
3answers
2k views

Is it possible to launch a modal that doesn't have the IsDlg property?

I need to open an external web page, say, http://google.com in a modal dialog. So if I were to do SP.UI.ModalDialog.showModalDialog(options); I get a modal window, however, it adds the IsDlg=1 ...
2
votes
3answers
2k views

Remove ribbon entirely on certain page?

Can this be done with SharePoint Online? Failing that, for an entire site? Thanks.
2
votes
1answer
970 views

Calling Upload Dialog with javascript, can I pass value through to the edit form that follows?

I have a button that opens the upload dialog from a page using the below approach: function openUploadNewDocumentDialog(passingID) { var dialogOptions = SP.UI.$create_DialogOptions(); ...
1
vote
0answers
143 views

Make Webpart connections to work when a dropdown value is changed

I have a simple newform.aspx which has Employee as a textbox. During onload of the page, I assign this with currentuser. On the same page, I have a webpart created using sharepoint designer that ...
2
votes
1answer
204 views

Images library view and jquery

I have image library that is provisioned by publishing feature, I added the view of this library to the page which contains my custom web part with jQuery After this I have an error TypeError: ...
2
votes
1answer
417 views

How can I get specific SharePoint site GUID using javascript/jquery

For example: I have a site under this url: http://intranet.contoso.com/news When I open it i would like to read it's GUID for future use in my custom AssetPortalBrowser.aspx url picker. Thanks!
1
vote
3answers
396 views

How to load page load javascript when update progress is over

How to load page load javascript when update progress is over. $(function() { // how to load this after update progress is over } Explanation My Grid inside update panel.. In Grid some of ...
2
votes
1answer
221 views

SharePoint - jQuery - Click a box to increase height and reduce other open boxes

I have a list with several list items. Each of these items have been styled through XSLT and CSS as boxes with content in them. The Content Query Web Part is displaying this information. When I ...
1
vote
0answers
98 views

Updating a value of any item in a list based on a selection of bool for one item - jQuery

So I hope this makes sense. I have a column within a list that I want to use as an active flag. There are 5 possible categories and for each category there can only be one active value. So I need some ...
2
votes
2answers
345 views

How to duplicate a question in a survey?

We have a survey that has 10 main questions. All of these questions are unique. After each question, we want to show last year's average answer to the same survey question. We're able to insert ...
2
votes
0answers
551 views

Filtering SharePoint list items that have multiple values using jQuery

I have a SharePoint list that contains multiple columns of information. There’s a Category column that’s a look up to another list called ‘Category’. This is to produce unique ID’s for each of those ...
2
votes
2answers
1k views

Custom Content Query Web Part in a Sandbox Solution

I am looking to create an "image slider" web part for my SharePoint 2010 site home page to display a nice glossy roll-up of our recent news articles. There are literally hundreds of jQuery plugins ...
1
vote
1answer
274 views

How do I convert this code to JQuery

I've been trying to convert this code to jQuery from Javascript but to no avail. This code is for adding a new item to a list which I took from the msdn website. It works in javascript but I need it ...
4
votes
2answers
653 views

Having error when using jquery.corner.js with jquery-1.6.2.min.js

I'm trying to use jquery corner to get curvy quicklaunch in my sharepoint 2010. But i geting eeor "object doesn't support this property or method. Any ideas if this version are compatible. Thanks in ...
1
vote
3answers
503 views

SharePoint 2010 Modal dialog problem with Jquery datepicker

i have a link on which i am opening a webpartpage embed in SharePoint ModalDialog. Inside webpart I have a textbox contains jquery.datepicker ..whenever i select the date the ribbons title scrolls up ...
2
votes
1answer
267 views

How to use aop.js with jQuery on Grouped Lists?

This question came from following up on an answer given here. I want to use jQuery to work css modifications on a list that has grouping. I discovered a jQuery script called aop.js that will allow ...
1
vote
1answer
116 views

Site Template with Custom Pages: css, javascript?

If I create some custom pages that include custom html, css and jquery and this page exists within a site that is used as a site template, will that cause issues? From my limited experience with this ...
3
votes
4answers
799 views

How to make Grouped View work with the $(document).ready event?

I have a list that is grouped by date: Normally the list is collapsed, when I open one date, items under it are shown, like: [+] 2010-01-01 [+] 2010-01-02 [-] 2010-01-03 item1 item2 ... I ...
2
votes
3answers
3k views

Why does jquery's document.ready not fire?

In my master page, I have attached jQuery along with my own custom.js. I use the javascript in that file to run fixes on my pages such as style adjustments. Now, when I run simple functions on my ...
2
votes
1answer
4k views

Expand/collapse all grouped items in views of a page

Is there a way to add a button to a SharePoint 2010 page to expand all grouped items in all the list views on the page? This is the first (top) level grouping only, not the second level. These are ...
5
votes
2answers
1k views

Sharepoint 2010 Webpart Ajax not working

I have a custom webpart within Sharepoint and am trying to apply some ajax to the webpart. The same code works within a .net web application but not within a sharepoint web part. The code from the ...
1
vote
3answers
657 views

Open DispForm.aspx on selected list item in a SharePoint list

Is it possible in a SharePoint list to change the function behind the event 'select item' to open the modal dialog with DispForm.aspx? So in a list, when you click on a item -> the row gets darkblue, ...
2
votes
1answer
301 views

FormField value set with javascript, value lost on postback

I have a custom list of "requests" which need to accommodate a required time range for a single date (among other fields), so I added "start" and "end" columns of date and time type. I used designer ...
1
vote
0answers
104 views

How to Reconcile External Data and Multiple Values for a List Item?

I am currently developing a solution that requires me to integrate a SharePoint 2010 list (generic list type) with items from a SQL Server database. In addition to this hypothetical field being ...
0
votes
2answers
1k 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
2answers
309 views

js/jquery doesn't work on site's upload.aspx?

is that right? If I go to a library in the designer, i can see upload.aspx there. Can't create a new one (and i guess that is because there is really only one per site, or collection?). Anyway, I can ...
4
votes
2answers
3k views

How to display a popup message after an item is saved from a custom new form

I have a custome form i built from a list using SharePoint Designer. I would like a message to popup after the user has clicked the save button. I have played arounf with presaveaction but no luck. I ...
0
votes
2answers
430 views

How delete a record from list by using a jQuery

I find aut a this article about to easy and fast delete a records from list: http://spservices.codeplex.com/discussions/245147 How could I use it ? Can I use it on cs files, if yes so how can I use it ...
0
votes
1answer
684 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
2answers
393 views

How to send dynamic parameters in url of sharepoint modal dialog options

I have the following code for the javascript modal popup. function ShowSearchBox() { var options = { title: "Search Here", width: 760, height: 380, url: ...
3
votes
2answers
1k views

How to show twitter feed using Jquery?

I want to show My Twitter Feed horizontally using Jquery in my web page. How can i do it?
0
votes
2answers
179 views

COM: javascript/jquery method for creating a xml data file from SharePoint list data (multiple)

Does anyone know how I can pull off creating an xml data file from data in multiple lists using SPServices/Javascript/jQuery? I can certainly bring all the data I need out to a page and load into DOM ...
0
votes
5answers
5k views

Jquery to get list items from sharepoint list

I have a work from my time to use jquery with sharepoint. I have written the code to get list items. When I run in IE it dosen't show any errors to me, but I am not getting the results. Can any one ...