470,632 Members | 2,300 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,632 developers. It's quick & easy.

window 'blur' event won`t fire on FF when textarea is focused?

Hi,

I have a 2 popup windows each with a textarea. I`ve attached 'blur' event to both of them. It works fine but if the cursor is inside the textarea and I`m click on the other window, the blur event won`t fireon FF.

On IE7 it works fine.

Is there a workaround?

Thanks
Nov 1 '07 #1
4 1638
acoder
16,027 Expert Mod 8TB
Is the blur event attached/added to the textarea?
Nov 2 '07 #2
Is the blur event attached/added to the textarea?
The blur event is attached to the popup window. All the javascript logic is in the parent window.
Nov 2 '07 #3
acoder
16,027 Expert Mod 8TB
I don't normally use blur, but have you tried attaching to the textarea too?
Nov 2 '07 #4
I don't normally use blur, but have you tried attaching to the textarea too?
The blur event on the textarea works fine and fires when I click somewhere else in the window and when the window loses focus but the blur on the window doesn`t fire if the textarea is focused.

As far as I know there is no way to check if a window is focused only to listen to events.
Nov 2 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Barry Svee | last post: by
4 posts views Thread by George Hester | last post: by
2 posts views Thread by lazar | last post: by
2 posts views Thread by Charles | last post: by
4 posts views Thread by Spizzat2 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.