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

learn more… | top users | synonyms

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
419 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
428 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 ...
0
votes
1answer
388 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"> ...
0
votes
1answer
1k views

how to addclass when tab is selected and remove all other classes in li elements

I'm using a idTabs to build a tab menu and i'm almost there. But how can i add a class when a tab is selected to the li element class=current(which is the parent) if the anchor is class =SELECTED. ...
0
votes
1answer
596 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
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
1k 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
862 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 ...
3
votes
5answers
13k views

How do I integrate jQuery into SharePoint 2010?

I've been doing lots of reading about all the nifty things that can be done using jQuery on a SharePoint site. I decided it was time to dive in! Unfortunately, I seem to have hit my first stumbling ...
2
votes
4answers
369 views

Why doesn't jQuery execute in a DataViewWebPart with asynchronous load enabled?

The jQuery scripts I have in a DVWP do not get executed when I enable Asychronous Load in the Ajax Options of the DVWP. They do execute when I disable Asychronous Load though. Any thoughts on this? A ...
0
votes
1answer
696 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
3answers
2k 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
141 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
3answers
673 views

Web Services: how to get/save Web Part on a page

The WebPartPages Web service includes actions to get or save Web Part properties (GetWebPart, SaveWebPart). Both require a unique identifier called storageKey. When using Web services on the client ...
-1
votes
3answers
2k views

How to select anchor class with jQuery? [closed]

How can i get the value Communications? <li class="current"> <a href ="" class="sf-with-ul"> Communications<span class="sf-sub-indicator"></span> </a> ...
0
votes
1answer
281 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 ...
0
votes
2answers
682 views

replacing menu in a master page - Sharepoint Foundation 2010

I'm in the process of replacing a menu using Jquery and a sharepoint list. But the problem i have is where to place my js menu script the master page. I tried disabling the asp: menu and the content ...
0
votes
1answer
261 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() { ...
0
votes
1answer
104 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
774 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 ...
1
vote
2answers
696 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
2answers
435 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
235 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 ...
3
votes
4answers
4k views

jQuery and SharePoint 2010 - How can I tell is the page is in edit mode, using javascript?

I have some javascript in a CEWP that I want to execute only when the page is in display mode. I've used firebug to scour the page for some "msEditMode" type of variable or something I can rely on. ...
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
459 views

how to get the node value using js or jquery in sharepoint designer [closed]

<tr> <td width="25%" class="ms-vb"> <b>Inclusion:</b> </td> <td ...
1
vote
1answer
142 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 ...
1
vote
4answers
543 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 ...
0
votes
2answers
2k views

jQuery Set Lookup Column Value

When using jQuery, what is the syntax to set a lookup column to a value retrieved from another lookup column. I have been able to prepopulate a string column with a value retrieved from a lookup ...
0
votes
2answers
2k views

how to add script to page

I am trying to add this script (Marc Anderson's blog) to AllItems.aspx. Please guide me where it needs to go and what needs to be done to make it work. Thank you. <script language="javascript" ...
0
votes
3answers
541 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 ...
5
votes
6answers
3k views

REST ListData service and anonymous authentication

I’ve been trying to use ListData.svc to get a REST feed from a list (actually a pages library) using something like: ...
2
votes
1answer
901 views

Is there any rule that says when SOAPAction is REQUIRED in the setRequestHeader?

Is there any rule that says when SOAPAction is REQUIRED in the setRequestHeader? In my jQuery library (SPServices), I've been including the SOAPAction for every Web Service call. It turns out that ...
1
vote
4answers
682 views

Custom List Form Webparts Not Saving if jQuery manipulates the field

I have a dropdown box on a custom webpart and I am initially filling it out with server side c# code in the createchildcontrols section. I wanted to cascade the dropdown to fill out another dropdown. ...
5
votes
4answers
692 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 ?
2
votes
6answers
4k views

How to update multiple ListItems with a “Where Clause” using SPServices?

I've searched the jQuery SPServices code examples and MSDN references for an simple example how to update several ListItems using a Where-Clause. Code for updating a single ListItem with ID = 500, ...
1
vote
2answers
1k views

Security warning for JavaScript and CSS file?

I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. And I am developing using VSTS 2008 + C# + .Net 3.5 + ASP.Net + JavaScript (jQuery). I met with the following ...
1
vote
1answer
2k views

Regex to Parse Script Tags

OK, this isn't really a SharePoint question, per se, but I need some regex help for my jQuery Library for SharePoint Web Services , which is certainly for SharePoint! I need to be able to parse out ...
-1
votes
3answers
1k views

convert asp.net code to WebPart code issue [duplicate]

Possible Duplicate: How to use JavaScript and CSS in a web part? I am using SharePoint Server 2007 Enterprise with Windows Server 2008 Enterprise. I am developing using VSTS 2008 + C# + .Net ...