Resize event does not fire in Firefox, but I need to handle focus when FancyBox is shown
Posted
by Christian Nielsen
on Stack Overflow
See other posts from Stack Overflow
or by Christian Nielsen
Published on 2010-05-18T07:16:41Z
Indexed on
2010/05/18
7:20 UTC
Read the original article
Hit count: 257
I am working on a solution where I need to have the first input field selected when a fancybox is shown. I have tried reacting to the resize event, which works fine in IE but not in Firefox. Also tried reacting to the click event on the link that opens the box - but aparently this is too early so some other element steals focus afterwards. Any ideas??
© Stack Overflow or respective owner