Posts Tagged ‘JavaScript’

Tuesday, 21 July 2009

jQuery plugin released: Simply Countable

A couple of weeks ago I threw together a simple jQuery plugin that provides a character or word counter for any textarea or input field form element.

jQuery Simply Countable plugin

The plugin’s options allow you to specify whether it counts characters or words, set a maximum character or word limit and choose the direction in which the counter counts (ie, from the maximum count down to zero, or vice versa).

[Read more →]

Monday, 15 September 2008

How to check whether an element exists using jQuery

When using jQuery (or any other JavaScript library for that matter), have you ever wondered how to test whether an element exists using a selector? Well, maybe you haven’t, but I have – lots of times – so I thought I’d share how it’s done here because it’s not as simple as it seems.

[Read more →]