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

learn more… | top users | synonyms

0
votes
2answers
487 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
6k 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
8k 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
485 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
235 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
229 views

Any good books on SharePoint interact with JQuery?

Any good books on SharePoint that interact with JQuery?
1
vote
2answers
614 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
512 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
264 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
960 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
374 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 ...
0
votes
1answer
814 views

Can SharePoint Easy-Tabs be wrapped in jQuery?

I love Christophe Humbert's Easy Tabs for SharePoint. I'm using jQuery on my page layouts and want to add his great code to the $(document).ready() function. However, it keeps blowing up with this ...
5
votes
1answer
2k views

Fetch list of sites in site collection into jQuery

Is there a way to get the list of sites in the current site collection into jQuery as an array or other data structure? Thanks.
1
vote
2answers
296 views

jDigiClock in SharePoint 2010

I'm trying to implement the jDigiClock jQuery plugin for showing the time and the weather in a really cool way in SharePoint 2010. It uses either PHP or ASPX to fetch weather info. I placed all the ...
0
votes
1answer
2k views

How to get Highest ID using CAML and JQuery

I am using a web service and am trying to return the highest ID number from the Posts list with viewname {B9212691-1AF1-41AF-9DA7-6073ADDB091B}. So far I have the following. <script ...
12
votes
4answers
7k views

jQuery accordion for the Quick Launch menu?

Is it possible to turn the left side menu (I think it's the Quick Launch area) into a jQuery Accordion style menu in SharePoint 2010? The jQuery UI Accordion control uses DIV tags, so wasn't sure if ...
4
votes
5answers
773 views

How can I include jQuery and JavaScript code without straying from the site template?

I've added my JavaScript code by including the script links in the PlaceHolderAdditionalPageHead <asp:Content> tag. Including this has caused a yellow warning stating The current page has ...
0
votes
1answer
5k views

Adding thankyou page to survey (after finish)

I am trying to follow this article http://arabic2000.com/blog/index.php/archives/tag/display-thank-you-after-survey-is-filled but I am lost where he mentioned to find the ID of the onclick validation. ...
6
votes
7answers
5k views

What is the proper way to add jQuery to a MasterPage?

Currently I am using this method in the header: <script src="/_layouts/MNCAssets/scripts/jquery-1.5.1.min.js"></script> But for some reason, my webparts that use jQuery don't appear to ...
0
votes
0answers
69 views

Is the javascript in my webpart executing before the javascript in my MasterPage? [duplicate]

Possible Duplicate: What is the proper way to add jQuery to a MasterPage? I have a few webparts that use jQuery. Instead of adding the jQuery in each web part I decided to add it in the ...
3
votes
2answers
4k views

Path to jQuery file for SharePointWebControls:ScriptLink

I'm working in SharePoint 2010 Designer to create a custom page layout. I've added a SharePointWebControls:ScriptLink control but am not sure what the path is to my jQuery library. It's uploaded to ...
1
vote
1answer
878 views

How to make jQuery AJAX request with a HTTP Handler in SP10?

I'm developing a SP 2010 Visual Web Part that needs to load some data via AJAX. I found this very helpful article but I'm having some doubts about it. I have the Visual Web Part project, inside I ...
0
votes
1answer
506 views

how to get the id of each dropdown and textarea row

Not sure what is the right approach to tackle this I want to control te textarea Reason based on what is selected in the dropdown list. As you can see below i have got to the stage where i can get ...
0
votes
1answer
445 views

looping through Dropdowns in a multiform field in sharepoint designer

I have a custom list I built using SharePoint Designer. Its a multi view form so I'm updating in a batch with one SAVE button. Unfortunately I have a dropdown list on each row and I want to hide a ...
1
vote
1answer
313 views

how to identify webparts by their element in the DOM

I'm working on some DOM scraping in SP and I want to tighten up my logic around web-parts. Namely, is it safe to say that anything with a attribute of 'webpartid' is a webpart? Some sample ...
4
votes
2answers
4k 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
3answers
2k views

Unable to get data from SharePoint web service

I am using the SPServices library to call a web service on a SharePoint site from the my Sites area. The domains are set up as 'https://intranet.domain.com' and 'https://mysites.domain.com'. So I ...
3
votes
4answers
889 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 ...
1
vote
3answers
879 views

Showing the current user's tasks in a Content Editor Web Part using JQuery

I have been searching this site for an answer but I have been unable to find anything that will work. I have been trouble pulling the tasks of the current user from a subsite. I am using SharePoint ...
1
vote
2answers
902 views

How do I write a web part that pops up “Hello world” using jQuery?

I want to use jQuery in my SP2010 hello world web part which pops up "Hello world" using jQuery. What do I have to do? I know I can do this with JavaScript, but I want to learn about jQuery in web ...
1
vote
1answer
359 views

Can we use jQuery functions as web part properties?

I want to build a wrapper web part which will have properties. These properties must be consumed by jQuery functions and support its consumer webpart. Can we do this?
0
votes
1answer
277 views

JQuery + HttpHandler returning whole html page instead of the expected data

I have a design of JQuery calling a .ashx file returning a small table, which was working fine all this time. However, suddenly the http handler seems to be returning the whole html page instead, not ...
0
votes
1answer
143 views

How is it possible that CEWP shows up with IE but nothing in FF, Chrome and Safari?

On my machine I can get CEWP to show (image and data) on IE and FF. Chrome and Safari still show nothing (just blank screen). CEWP is linking to a txt file that has javascript stuff. Here is the code ...
1
vote
2answers
351 views

Confirmation box on cancel button and cross (rigth hand corner)

Whenever I leave a page as in exit the page like click the cross button or cancel button it should ask for confirmation -Do i want to navigate from the page(Yes/No) If No, it should remain on the same ...
1
vote
5answers
3k views

Best practices for including jQuery from a web part?

I have a web part that requires jQuery. I'm wondering what the best practices are when it comes to including this. I assume that just adding it to a page that already has it could potentially cause ...
0
votes
1answer
1k views

How to replace the text is on the SharePoint 2010 page using Jquery

I want to replace the text "TermsConditions" with "Something" from the below html snippet, would like to use the query to do so but could not achieve it..Any help? <tr> <td ...
1
vote
1answer
83 views

Insert document type in XSLT

I have an XSLT that transforms a picture library and turns it into a jQuery galleria control. I can make it work in a standard html page, but I have the need to put it in a Sharepoint 2007 web-part, ...
4
votes
1answer
2k views

How to find the Author Name using SP Client Context in SharePoint 2010?

I am trying to find the Author Name(created by) for a given Item Id using the SP Client context in SharePoint 2010. Below the code snippet var ctx = new SP.ClientContext.get_current(); ...
2
votes
1answer
180 views

jQuery Script causing errant Page group to not load

In my attempt to present multiple list data, I have ventured into the territory of the DVWP. I have three lists A, B, C. Each of these lists are interrelated. When click the title from List A, I ...
3
votes
2answers
676 views

PreSaveAction on edit mode

I'm working on a custom list. Two DWP webparts the first one insert data(save button only but some fields are pre filled) and the other one shows the data(This has got edit and delete enabled) I'm of ...
2
votes
5answers
4k 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 ...
-1
votes
3answers
188 views

How can I fix this CSS?

I followed this article and it's working but half way. See image shots below.
0
votes
2answers
1k views

Content Editor Web Part blank in jQuery slideshow

Now I dont get any error(s). But the content editor wp is blank (well, except for the gear image). Any idea(s)?? <IMG ID="slideshowPicturePlaceholder" src="/_layouts/images/GEARS_AN.GIF" ...
2
votes
1answer
446 views

jQuery cascading dropdowns and Word

If a user clicks on New from a document library then a word template opens with metadata in the header section, will the SPServices jQuery cascading dropdowns work in the word's header? I doubt it. If ...
3
votes
4answers
2k views

Scrolling through list items one by one

I have an announcements list and instead of displaying all announcements at the same time, there may be quite a few, I want to scroll through them one by one. Outside of SharePoint there are quite a ...