Joe Lanman

Web design and development when not playing computer games

Posts tagged with ‘javascript’

Prototyping with jsFiddle.net

July 4, 2010

I’m a big fan of applications that do a simple thing well; jsFiddle.net is an innovative environment to work on HTML, CSS and JavaScript in the browser. Coded by Piotr Zalewa and designed by Oskar Krawczyk, it’s a tool I’ve found really useful for me and my team – the simple four-pane layout is brilliantly suited to front-end development:
(more…)

6 Comments

Usable multiple-selection with checkbox lists and jQuery

March 21, 2009

There are two out-of-the-box methods for multiple selection in HTML: checkboxes and the <select> tag. Neither are perfect – I’ll be discussing why, and proposing a sort of mashup of the best aspects of both, using jQuery.

(more…)

4 Comments

Python-style startswith and endswith string functions in Javascript

July 10, 2008

The Python language has useful string methods to search for prefixes and suffixes:


my_string.startswith('pre')

The same thing can be achieved in Javascript using the rather powerful search and replace methods.

(more…)

1 Comment

Using JQuery and Javascript to parse XML to objects

July 8, 2008

Right – thought I’d post some actual code as proof of actual development.

I wrote the first version of my CMS back-end in PHP, and sent data to a Javascript front-end using JSON. This was fantastically fast and simple – the string only need be checked for dangerous syntax, and then eval-ed and it becomes Javascript objects ready to use. The pot-noodle of data formats.

(more…)

No Comments

WP SlimStat

Asynchronous Google Analytics for WordPress plugin powered by WordPress Expert at minilibra.com.