Given a select that looks like this:

You can simply call $("select").spicyselect(); and the spicyselect will write out a mask that looks like this:

Stylesheet Used for Demo