See the fiddle: http://jsfiddle.net/stefek99/9m5NZ/1/ Get the source: http://pastie.org/3654715
Chrome 17: just works.
IE 9: you need to click twice on "click"
Firefox 11: you need to give focus on some other element and then "click" works.
Why is that? (tried everything, have no clue)