Yesterday I was tasked with fitting a new design on a very old site. As expected, the existing site made heavy use of the rows,…
Don’t rely on AJAX for form submissions
I admit to cutting corners when it comes to graceful degradation, but one area where you certainly don't want to skimp is form submissions. Let's…
Rounded corners on form inputs
You might be saying "Duh – just use the CSS 3 border-radius style". Or, you might be saying "Who is this guy? Why doesn't he…
jQuery clone – Deep Copy requires Deeper Thought
We all know and love the jQuery clone() method and it's ability to create a deep copy of an object. But, in many cases, there's…
Star ratings the HTML valid, gracefully degrading way
We just released a new plugin, jquery.stars. If you are accepting product reviews on your site, this is perfect addition as it builds on your…
Allowing tab within textarea
There are solutions out there on the subject. We borrowed the following jQuery code from another post: jQuery.fn.extend({ insertAtCaret: function(textToInsert){ return this.each(function(i) { …
Simple jQuery Tabbed Content
Goal: Produce a simple, small script which gracefully degrades without JavaScript. Note: The HTML below is pulled from a Zope Page Template (with embedded Python),…
jQuery to “link” labels with checkboxes
If you generate checkboxes and labels dynamically, or just don't feel like assigning ids to all of your checkboxes and corresponding for attributes to all…
Labels activate checkboxes / radio buttons with jQuery
The small jQuery snippet below will make those plain old labels that follow checkboxes and radio buttons active. That is, they will activate/deactivate the checkboxes…
Labelling form fields without using labels – Method II
Here's a handy method I came up with to "move" labels inside form fields, to save real estate. It also degrades gracefully if the user…