Add an item dynamically to a select box

Hi there,

Anyone knows how to implement the same feature as the ‘category’ field
in the ‘basecamp > messages’ screen.

Click to the last option (‘add a new category’)
and then you just have to enter the new category label in the
javascript box.

Wonderful…

…but how is it done?