Author Archives: Chris Smith

About Chris Smith

Web developer specialising in frontend UI design @chris22smith

Filtering with JavaScript’s onhashchange Event

I recently discovered a very neat way of using JavaScript to filter which records are shown on a page. Filtering with JavaScript’s onhashchange Event – Example¬†(opens in new window) For a long time I’ve been using links to trigger JavaScript … Continue reading

Posted in JavaScript, onhashchange | Comments Off on Filtering with JavaScript’s onhashchange Event

ADVERT – Premium Domain Names For Sale!

The following domains are currently available for purchase or lease: cjoz.com DoINotLikeThat.com mawks.com MoneyInterest.co.uk MoneyPie.co.uk SpottersBadge.com Please contact @chris22smith on twitter if interested.

Posted in Adverts | Tagged , , , , , , , , , , , , , | Comments Off on ADVERT – Premium Domain Names For Sale!

Checking a Checkbox inside a List Item by Clicking the Parent or Child

It’s quite common to see list items <li> or table rows <tr><td> which contain a checkbox <input type=”checkbox”/>. Rather than the user having to be very precise and click/touch on the checkbox, it’s often preferable, especially on mobile devices, to … Continue reading

Posted in click(), JavaScript, jQuery | Tagged , , , , , , , , , | 1 Comment