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

learn more… | top users | synonyms

0
votes
1answer
230 views

Toggling listview web part content source

I'm trying to construct the following user experience. There's a set of links, let's say are in the content editor web part, which control which document library is display below. How would you go ...
2
votes
3answers
10k views

How to get TD cell values using jquery from a Data Webpart

I would like to get the text from the first and second TD which has the class user and id <tr class="rowid"> <td class="user">A</td> <td class="id">B</td> ...
1
vote
2answers
765 views

sharepoint document library view to show actual images uploaded

Scenario : Sharepoint 2010 document library. Users click on 'add new document' and upload a picture (They always upload pictures or images only). The default view shows the 'Type' and the filename. ...
0
votes
1answer
1k views

How to load div like iframe with a url with parameters(Loading external data to a cell)

I would like to show a status in field but the result data is from an external link which means another sharepoint list. I'm using something similar below but not sure if this is the best way to do ...
3
votes
1answer
253 views

Compressing or stop rendering of JS files from SharePoint on mobile devices

I have costumer who is complaining about massive data traffic on their mobile devices when they enter their website from their cellphones or tablets. When we made the site in the beginning, we made ...
2
votes
0answers
4k views

How to use SPServices jquery to add new item

I have a list and I would like to have a link on each item (dynamic) that I can click to insert some data to another list. What I'm after is to get some data when a user clicks an item. (Kind of to ...
0
votes
2answers
401 views

Add Timespan to DateTime Column via SPServices (jquery)

I want to increase and decrease a DateTime column from a specific list with jquery and SPServices. Normaly I should first receive the original datatime and then add the timespan and after that save ...
3
votes
3answers
1k views

using jquery and search.asmx service search People in sharepoint 2010

Hi i use below code for Getting people Search. Using below code I am able to search but getting only user name and User my site url. I want all user profile Property.How I get all user Property using ...
2
votes
2answers
2k views

Scroll position in Sharepoint 2010?

Do you know a way to find out a scroll position in JS or jQuery on a page in Sharepoint 2010? I have a web part that is very big (high) so scroll on the page appears. But I cannot determine the scroll ...
0
votes
1answer
231 views

Count Words For the SharePoint List Item

I need to count the words of SharePoint List Item. I have used code, but it shows me only 0 words though I type several words. When I used an alert for holdtextvalue it shows me blank value. Can ...
4
votes
1answer
553 views

How to call jquery method in different page event like pageload, ispostback, page refresh, onsubmit

In my master page I am calling the jquery method on pageload event. It will do some truncation operation in a SharePoint page. The problem is, if I have add new item to the SharePoint form and if I ...
2
votes
1answer
172 views

Count Number of Words existed in Word Document

Hello Group members, I have a document,Where When I upload the document in document library or in List then I need to count the total number of words existed in Word Document ...
1
vote
0answers
2k views

Calling a WebMethod defined in a Publishing Page Layout

I'm trying to define a WebMethod in one of my Publishing page layouts. This WebMethod is intended to be called when a user takes a specific action in an Editor Part in a Visual Web Part, however, ...
1
vote
1answer
470 views

Add numbering to a standard list view

We're displaying a SharePoint 2010 list using a Standard View created via the browser. The items are shown in a table and the users would like a number shown for each row. The numbers column would be ...
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, ...
1
vote
1answer
450 views

How to handle the ecb menu CSS?

I have hidden the ECB menu from the task/DocLib lists, and I am using jquery to truncate the title field into 50 char and remaining will be displayed in the jquery popup. Even though I have removed ...
2
votes
3answers
490 views

What is the best method to retrieve the value of “Sum = ####” from List View using jQuery?

Here's a little challenge for you SharePoint and jQuery experts. I have an out of the box list view in MOSS where I total one of the columns as a "Sum" so that at the very top of my list I have "Sum = ...
4
votes
1answer
1k views

Disable drag and drop events in SharePoint calendars

Is it possible to disable drag and drop event in SharePoint calendar? I looked all available properties in SPCalendar control but I didn't find any. Rendered Javascript has a parameter in factory ...
2
votes
4answers
663 views

Generating a CSV file

I'm using a DVWP in MOSS 2007 to display some data and using a jQuery library called table2CSV to be able to allow users to export the data on a button click. This is all working fine, the data is ...
3
votes
3answers
4k views

Posting JSON to a REST WCF endpoint in Sharepoint using cksdev

http://ranaictiu-technicalblog.blogspot.com/2011/09/sharepoint-2010-access-wcf-service-with.html?showComment=1323864446083#c4340503928745769810 has an example of using JQuery Ajax to GET or POST to ...
1
vote
1answer
105 views

Input Rich HTML in a Sandboxed Visual Web Part

I'm trying to build a styled web part for adding list items to a list, and I cannot for the life of me find a good control for adding a Rich HTML editor. Has anyone come across this before?
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 ...
1
vote
2answers
248 views

Reference of jquery increase with edit of CEWP

I am trying to use jquery in CEWP. In my html script, I am providing jquery reference which is available in SiteAssets library. I am using jquery library for some fancy slider. When I save html ...
2
votes
1answer
805 views

Error on page when using an iframe in a Content Editor Web Part

I am trying to set up on iframe on a SharePoint 2007 page that will show the most current project report uploaded to a document library. Here is my code, inserted into the page in the source of a ...
2
votes
1answer
312 views

Using an ID to remove a class using jQuery

I'm trying to remove the classstatic selected menu-item using $("#slink").removeClass("static selected menu-item"); Thanks guys.I'm sure the Jquery script is running as i have other stuff there. ...
2
votes
1answer
614 views

Can I use asp.net web service in Sharepoint project?

I had create .asmx webservice in asp.net projects. my doubts that is this able to use this webservice in sharepoint project? suppose this is my code source: function (request, response) { ...
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 ...
2
votes
3answers
411 views

How to change the href for a hyperlink using jQuery:Error href is null

I'm trying to get to the default home link(href) on my sharepoint site using jquery but i keep getting href is undefined. I would like to change it to another URL I have tried alert($(".static ...
2
votes
3answers
4k views

List driven Scrolling Marquee

I had a friend ask about this and I wasn't sure so I thought I'd test your metal. What would be the best route for applying a scrolling marquee to a page that is list driven? Perhaps the better ...
1
vote
1answer
3k views

Parsing SPServices' GetListItems data

I'm using SPServices with jQuery to collect data from a Sharepoint 2010 list for use in a standalone Javascript powered web application. EDIT: I've found a little more out while investigating this - ...
0
votes
1answer
639 views

How can I have a notification popup when there is a new item in a list?

I would like a pop up message like a notification to come up when a new item is added to a list. Something similar like outlook does when you get a new email. So for instance our support team is ...
9
votes
1answer
453 views

Detecting browser and replacing web part?

I have a video I want to display on my SharePoint 2010 public facing site and at the moment I am using Silverlight, however, I would like to replace this with flash (youtube actually) if the users are ...
1
vote
2answers
1k views

Displaying other people picker column properties on a view using spquery.js and spservices.js in MOSS 2007

We have a custom list with a person column. Want to display that persons Department on the list view. Possible with jquery/spservices? I have a jquery script that returns the currently logged in ...
2
votes
2answers
1k views

Get a pop up box to show the user details?

I have a list called Contact, where I have three fields , 1. Name 2. Mobile 3. Email. Now I created a Content Editor, Where I will display all the names of the employees. Now how can I create a pop ...
0
votes
2answers
465 views

Sharepoint 2010 - Related fields in dropdowns. How to?

In my UI I have a dropdown which contains some values: A, B, C. There is also another dropdown in the page whose values depend on the selected value in the first combo. If I select A in the first ...
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 ...
0
votes
1answer
2k views

Column width with jQuery

ms-vh2 exists by verifying "view source" but I cant get the following code to do the tricks for me. any idea?? <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" ...
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
1answer
455 views

Building a Floating Menu for SP 2010

I would like to have a floating menu the menu can come from a list or use the Quick launch. Any ideas or samples out there.. For example if i can make this float ...
1
vote
2answers
230 views

SharePoint 2007: Is it possible to insert a Image map into a SharePoint List?

How do we insert a image map into a SharePoint List such that when we clicked, the image map pop-up (with the help of JQuery)?
1
vote
3answers
225 views

Any good books on SharePoint interact with JQuery?

Any good books on SharePoint that interact with JQuery?
1
vote
2answers
568 views

Suggestions for implementing relationships between two lists

Here is what I am trying to accomplish: I want a Sharepoint list(s) that can track received client calls and all follow-up attempts from our staff. What I initially envisioned this would look like ...
2
votes
2answers
492 views

Popup to allow emailing of current URL

I'd like to implement an email icon on the pages of our SharePoint 2010 site collection; when the user clicks it, a Lightbox-style popup allows the user to email the current URL with a custom message ...
0
votes
2answers
1k views

Ajax Loader Image Won't Display in IE 8

I'm using the SPServices jQuery library to update a list which is working fine. note: This problem may have absolutely nothing to do with SPServices; I'll have to try using the jQuery ajax method ...
1
vote
3answers
1k views

How do I fully integrate jQuery into SharePoint 2010

Hi I'm a bit of a newby to Sharepoint! I have created a masterpage based on nightandday and added some jQuery code that successfully does some simple link hiding/revealing as part of a menu structure ...
2
votes
2answers
252 views

Deleting Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows

how delete Dead User Accounts from Sharepoint Alerts,Assigned to E-Mails ,Workflows.
0
votes
2answers
875 views

Get list of web parts on the client-side

Is it possible to use the Client Object Model or jQuery to get a list of the SharePoint 2010 web parts on a certain part of the page, say those in the DIV #main-content? To be more specific, I'd like ...
0
votes
1answer
1k views

Change calendar view's layout

I have a calendar list with about 8 views created by filtering on Location. Is it possible to have these views appear differently than the default? I've selected "Week" as the scope for all the views. ...
2
votes
3answers
4k views

How do I get the username from a PeoplePicker control using jQuery?

I have a form where I used a People Picker control. I would like to get the username entered into a people picker control using jQuery. Please suggest?
1
vote
3answers
361 views

jQuery selector worked in 2007 but not in 2010

$("#aspnetForm").attr('action', newAction); In SP2007 it worked fine, in SP2010 I get the following error in the SharePoint log: System.Web.HttpException: Failed to load viewstate. Can someone ...