First example and it works for first try. At least in Chrome and IE11.