Quantcast
Channel: JavaScript – Marc D Anderson's Blog
Browsing all 62 articles
Browse latest View live

Pre-Populating SharePoint List Item Values Using Query String Variables

A client of ours was having trouble getting this idea to work based on a post he found on the Microsoft SharePoint Designer Team Blog.  I took a look and got it to work nicely in a test situation....

View Article



XSL, Not Javascript, in SharePoint Forms

I’ve been working a lot with custom forms in SharePoint lately, and I’m finding all sorts of shortcuts. Here’s a good example.  I’ve got a form on which I am allowing the user to select 1-n tickets for...

View Article

Parameter-Driven Javascript in XSL

As a follow on to my last post, getting the syntax right for Javascript to work well within XSL can drive you a little batty at times.  One good trick is using the <xsl:attribute> tag.  The XSL...

View Article

Get a People Picker’s Current Value on a Form

There’s a nice article over at the SharePoint Designer Team Blog about how to manipulate a List Form Field (AKA Data Form Field) using Javascript.  It gives some great methods to accomplish this, but...

View Article

Set a People Picker’s Value on a Form

Following up on my recent post about getting the current value of a People Picker on a form, today I built the JavaScript to set the value, and here it is. As usual, I’ve left in my debugging code in...

View Article


Using Query String Variables to Populate SharePoint Form Fields

If you have a parent/child relationship between two lists, you will undoubtedly want your users to be able to create child items without having to type in the common key or ID.  I’m not going to go...

View Article

Setting Multi-Select Widths in a SharePoint EditForm.aspx Using JavaScript

<UPDATE date=”2009-01-25″> I now have a function in my jQuery Library for SharePoint Web Services called SPSetMultiSelectSizes which accomplishes this in a more robust way, taking into account...

View Article

IE8: Built in Script Debugger!!!!!

I think the title says it all.  If you’re using script in your pages, you should get IE8.  QED

View Article


Validation on SharePoint Forms – Part One

There are many occasions where you might like to do some validation on NewForm.aspx and/or EditForm.aspx in SharePoint beyond the simple column by column validation which the form provides...

View Article


Validation on SharePoint Forms – Part Two

In my previous post I outlined a few approaches to validation in SharePoint forms.  In this post, I’ll give some simple examples of how you might validate some date inputs.  For this example, I’m using...

View Article

Image may be NSFW.
Clik here to view.

Christophe’s Easy Tabs at Path to SharePoint

That Christophe guy over at Path to SharePoint never rests!  I just spotted his post on his new Easy Tabs Web Part.  I haven’t dug under the covers on it yet, but Christophe’s stuff is always nice. The...

View Article

Validation on SharePoint Forms – Part Four

Trolling the MSDN SharePoint – Design and Customization forum is proving to be a great learning experience all around.  I see questions I can’t answer which cause me to research them, and hopefully,...

View Article

External Link Indicator for SharePoint Pages Using JavaScript

Many so-called Web 2.0 sites show a little icon for any links which send you out of their purview to another site.  This is a nice thing to do within SharePoint as well.  You can easily make this...

View Article


Image may be NSFW.
Clik here to view.

Onward and Upward with jQuery: Reworking My External Links JavaScript

I’ve been watching so many folks out there doing cool things with jQuery, and it’s time to bite the bullet and get up to speed.  I wanted to take a look at something I’d recently posted about and see...

View Article

Cascading Dropdown Columns in a SharePoint Form – Part 1

UPDATE 2009-08-26: I’ve translated this logic into my jQuery Library for SharePoint Web Services. I *strongly* suggest that you look at that as an option, as it is far more robust.  And free! UPDATE...

View Article


Cascading Dropdown Columns in a SharePoint Form – Part 2

UPDATE 2009-08-26: We’ve translated this logic into our jQuery Library for SharePoint Web Services. I *strongly* suggest that you look at that as an option, as it is far more robust.  And free! In my...

View Article

jQuery Fun with Animation and Opacity

Over the last few days, I’ve been doing some more work with jQuery.  It’s really a very cool abstraction on JavaScript, but it does take some getting used to.  My latest challenge is to understand...

View Article


Determining the Current Site URL with jQuery and SharePoint’s Web Services

I’m not sure that I’m enamored with this as a solution, but I thought that I’d post this function to see what folks think and whether there are any better ideas out there.  (I’ve looked, and I...

View Article

The Middle Tier Manifesto: An Alternative Approach to Development with...

For some time now, I’ve felt the need to set down my thoughts on the power of development in the Middle Tier for SharePoint.  Today, I’m publishing the first edition of my white paper The Middle Tier...

View Article

Image may be NSFW.
Clik here to view.

The Middle Tier Manifesto: An Alternative Approach to Development with...

My white paper, The Middle Tier Manifesto: An Alternative Approach to Development with Microsoft SharePoint (see my prior post) has been garnering a decent amount of attention over the last few days,...

View Article
Browsing all 62 articles
Browse latest View live




Latest Images