jQuery: Textarea maxlength

Being able to restrict the maximum length of user input from the interface directly is very convenient and practical in use. We do this a lot with input elements. Unfortunately textarea elements do not natively support the maxlength attribute. This attribute was finally added in HTML5 but at the time of writing Chrome is the […]

Unobtrusive, Accessible and Standards Compliant Numeric Stepper (revisited)

July last year I wrote a small tutorial on how to build an Unobrustive, Accessible and Standards Compliant Numeric Stepper. As of today it remains the most high traffic page on my site. I can see there is interest out there in a HTML and JavaScript based Numeric Stepper since the most searched for terms […]

7 Ways To Write “Better” HTML

BarCamp came and went, I’m still experiencing the aftermath; making new connections on Facebook daily and checking the BarCamp Hong Kong 2007 Flickr Group constantly for new photos! Anyway, It’s about time I catalogued my talk before it’s too late! The original presentation slide show was created with S5 (a standards compliant and accessible slide […]

Rediscovering the button element

I recently came across an article on particletree.com about rediscovering the button element. This article takes you through an example of how the button element was used to deliver buttons that look exactly the same across all major browsers, including Safari 2. If you’re still using the input element for buttons then I’d recommend reading […]