Yes, it works, but the state is kind of different when you do a focus on load, and when you do a focus later with a click on the button.
ON load, you see only the border states changed (in http://jsfiddle.net/jqwidgets/a3R2F/ you see that with a darker blue), but when you click on the button, you see the number inside selected.
In Chrome and IE, these behavior is the same for load or click event, only in FF that is kind of different.