By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,718 Members | 1,220 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,718 IT Pros & Developers. It's quick & easy.

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

P: 54
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
Share this Question
Share on Google+
4 Replies


acoder
Expert Mod 15k+
P: 16,027
Is the blur event attached/added to the textarea?
Nov 2 '07 #2

P: 54
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
Expert Mod 15k+
P: 16,027
I don't normally use blur, but have you tried attaching to the textarea too?
Nov 2 '07 #4

P: 54
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.