SteveSanderson/knockout — pull request #252 by amonat (2011-12-30 20:35:20+00:00)
Title: Add optionsAttr binding which allows setting arbitrary attributes on the...

... options in a select, similar to the attr binding.

I had an earlier pull request which added an optionsTitle binding (https://github.com/SteveSanderson/knockout/pull/196) that hasn't gone through. This is an improved version of that pull request, allowing you to set arbitrary attributes on the options in a select. I'd mentioned I was thinking of doing this in that earlier request, and worldspawn +1'd the idea, so here it is just in time for New Year's.