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

learn more… | top users | synonyms

5
votes
4answers
857 views

Can jQuery intellisense also be installed / used in SharePoint Designer?

There are some references on how to install intellisense for jQuery in VS2008SP1, is it also possible for SharePoint Designer ?
0
votes
1answer
750 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
427 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 ...
0
votes
3answers
580 views

JQuery Modal webpart prompts for answer

I have a webpart that pops up a jquery modal on page load. The modal prompts them to answer a question using a radio button list. They select an answer and click Answer (a modal button) which calls ...
0
votes
1answer
306 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 ...
1
vote
4answers
869 views

Using JQuery to enlarge the text input boxes in SharePoint 2007 Blog forms

I have a site set up as a Blog Template. I want to use jQuery to expand the size of the text boxes for blog posts in both Viewing and Edit mode (and new mode). Viewing mode is easy. I edited ...
1
vote
1answer
470 views

Highlight Group By Row in SharePoint List

I've got a dashboard on my SharePoint Homepage that shows a RAG status of all our project tollgates, grouped by (a) category then (b) project. Is there a way to highlight a group by row in a list ...
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, ...
1
vote
3answers
989 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
1answer
449 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?
1
vote
2answers
935 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 ...
0
votes
1answer
314 views

Buidling menu from a list - need how to group columns/distinct

I'm trying to build a menu from a SharePoint list but I need to group the main menus and then add links to the appropiate main menus. I have separated the links using the LinkType column if it is a ...
1
vote
3answers
3k views

Show number of items in Folder in ListView

I'm looking for a solution that displays the number of items that are stored in a folder of a list. Maybe this can be done with javascript/jquery, but I actually don't want to reinvent the wheel. If ...
0
votes
1answer
276 views

I can't get to return more than one item when using webservices GetListItems

But i have an issue though it only returns one record while there are more than one item in the list. Any ideas i did increased the row limit but no luck $(document).ready(function() { ...
1
vote
2answers
779 views

how to validate SharePoint:formfield

I have a data view web part and it does insert,delete ,in edit mode it save and cancel button.The data is based on a custom list.In the list i have set the max to 4 but in DWP it doesn't seem to work. ...
0
votes
1answer
147 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
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 ...
2
votes
1answer
189 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 ...
0
votes
1answer
708 views

how can i insert a break line after a ul element - using Jquery [closed]

I would like to insert a br after the first UL element I have used both after and insertAfter but it inserts it multiple times. thanks in advance <div id="usual1"> <ul class="tabs1"> ...
-1
votes
3answers
189 views

How can I fix this CSS?

I followed this article and it's working but half way. See image shots below.
10
votes
3answers
5k views

Site Assets vs. Style Library

I usually store my JavaScript/jQuery files in the Site Assets library, but I see on forums that others are using the Style Library. What are the respective benefits of each?
4
votes
4answers
3k 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 ...
2
votes
1answer
599 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 ...
1
vote
2answers
2k views

Can't get jQuery UI to work in my web part!

I have the following markup: <SharePoint:CssRegistration ID="cr_jqui" Name="/Layouts/MultiPart/css/smoothness/jquery-ui-1.8.12.custom.css" runat="server" After="corev4.css" /> ...
2
votes
2answers
1k views

Remove alt tags from Calendar

Has anyone been able to successfully remove the alt tags/(hover text) from events in the sharepoint 2010 calendar. I am trying to use Jquery to strip them out, but am having no success. I have even ...
1
vote
1answer
846 views

Why is the TaxonomyClientService.asmx service returning escaped XML for my result?

I was able to sucessfully call the service but when I get my results back it looks like this (see the GetChildTermsInTermSetResult node): <?xml version="1.0" encoding="utf-8"?> ...
8
votes
2answers
9k views

Adding ScriptLink for js file to my Visual Webpart causes error: “Cannot make a cache safe URL for…”

Full error: Cannot make a cache safe URL for "sprocketcomplete/layouts/sprocketcomplete/js/sprocketcomplete.js", file not found. Please verify that the file exists under the layouts ...
1
vote
1answer
887 views

Problem adding javascript/jquery to my WebPart

My ascx looks like this: <SharePoint:ScriptLink ID="ScriptLink1" runat="server" Name="/_layouts/1033/MyProject/js/test.js"/> test: <input id="example" /> test.js looks like this: ...
2
votes
4answers
893 views

Possible to make a self contained web part that uses jQuery?

Basically I would like to create a WebPart that uses jQuery but I don't want to have to add jQuery to my masterpages (or anywhere else) manually. I would like to have one WSP that I could email to ...
4
votes
3answers
2k views

Remove “Download a Copy” from Sub Menu

I am not allow to modify the core.js so that's not my option. I am allow to add a content editor. I just need to remove the "Download a Copy" from submenu. (this is just for a particular library). The ...
0
votes
1answer
684 views

navigation menu question with jquery and sharepoint list

I want to build a jquery tab menu using data from a sharepoint list. So i decided to use SPServices from codeplex to get the data via webservices as i would be using it from different site ...
1
vote
1answer
3k views

Adding items using SPServices issues

Need some assistance on a bit of JQuery for writing to a MOSS 2007 list. I have the following spot of code. If I run it with just the title field, it works fine, adding additional fields doesn't work. ...
0
votes
2answers
185 views

jquery and webservices

i have a tag cloud on my master page. I would like to redirect links of the tags within that tag cloud to another url (script below). The script runs fine when i test it with the console in firefox ...
1
vote
2answers
1k views

moss 2007 List Forms - dynamic field logic

I'm using MOSS 2007 for the NewForm.aspx need to implement field logic i.e whether to show certain fields based on the values of preceding fields. I have implemented a similar solution embedding a ...
1
vote
1answer
529 views

How can you add a script reference to a page from a custom webpart?

I'm developing a custom webpart and I'd like to leverage jQuery for some of my client side functionality. I found a few articles that lay out the following technique for adding a script reference to ...
1
vote
1answer
2k views

Add gradient background color to list view rows with jQuery

In SharePoint 2007 using Content Types and editting NewForm.aspx with jQuery I've managed to customize the look of a new item, adding a gradient color identity for each Content Type. I want to ...
1
vote
2answers
2k views

Get ContentTypeId In NewForm.aspx URL QueryString

I've been trying to access the ContentTypeId in the NewForm.aspx querystring. Knowing that will allow me to set up conditional statements to display information specific to a Content Type. My ...
0
votes
2answers
1k views

Create Floating Menu With jQuery in NewForm.aspx

Part 1. I'm attempting to add a floating DIV within a SharePoint form. The description within the DIV is critical for filling out the form correctly and must be viewable at all times. So, as the user ...
0
votes
1answer
964 views

How do I cascade populate drop down list boxes using jQuery?

I have two drop down boxes in designer. In the first drop down I have 3 options, in the second drop down I have 20 items. When I click option 1 in the first drop down, I need the first 6 items ...
0
votes
1answer
789 views

where can i find Jquery tabs webparts for Sharepoint 2010?

I'm after a Jquery tabs webparts for Sharepoint 2010? i came across this one http://jquerytabswebpart.codeplex.com/ But its only for SP 2007. Any resources would be appreciated. THanks
0
votes
1answer
147 views

Filter DVWP with span tag

I am trying to filter a DVWP based upon a span tag value. The value is set in a document.ready function. Please show me how to send it the output of a DVWP. I tried to insert it where the $Rows ...
0
votes
1answer
106 views

Hide foreign key column [closed]

I am tring to hide a foreign key column within an insert template. The column is populated with jquery, but it would be nice if it was invisible. How is that done? Thank you.
0
votes
1answer
858 views

SharePoint 2007 HttpHandler can't use SPContext.Current.Site or SPContext.Current.Web when called from jQuery

I have the need to develop a custom HttpHandler in SharePoint. To start, I just coded up a simple example: http://pastebin.com/HXLjR2xT. On line 35 or 36 of that code I get a NullReferenceException ...
0
votes
2answers
541 views

How do display different image based on a value [closed]

I would like to place a image on a page <img src="myimage.jpeg" id="imgid" style="display:none"/> if (PerMonth <0){ $(this).css("background-color","#FFFF00") $("#imgid").css("what do i ...
1
vote
2answers
323 views

how can i change .css or addClass of a textbox in a juery change function - help [closed]

I have a change functions as below: All i want is whan a user clicks the button and the value is less than zero change the backgoundcolor of the textbox and viceversa if its greater that. But it ...
1
vote
1answer
119 views

Anything wrong having a page with Data view webpart with no master pages

I created a page using SDP added some Data view webparts in and it works fine. But when i try to use Jquery it doesn't work. Any ideas why?
1
vote
1answer
156 views

Can 'jQuery' & 'Javascript' coexist? [closed]

I am planning to use 'jQuery' for my WSS 3.0 Site. I am using 'Javascript' also on it. Will I face any conflicts? Thnks --saumil
1
vote
1answer
1k views

webpart with rounded corners - SharePoint 2010

I'm looking for a solution using Jquery.corners for my webparts to have rounded corners. Any ideas preferable one that doesn't need images. Any ideas and thanks in advance
0
votes
2answers
1k views

Using jQuery variable in DVWP

I am running SharePoint Foundation on Windows Server on a hosted site. I am able to retrieve a value with jQuery from the User Information List. Using Sharepoint Designer 2010, I have added a DVWP ...