aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes does <div> have any onBlur method ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "does <div> have any onBlur method ?" Watch "does <div> have any onBlur method ?" New topic
Author

does <div> have any onBlur method ?

mark I thomas
Ranch Hand

Joined: Apr 07, 2008
Posts: 86
when an element is selected, a hidden <div> appears and it contains some warning text. I want that when user moves mouse away from the <div> area or clicks any other area (not inside <div>), the <div> area should disappear again. But I don't think <div> has onBlur type method. How to do this ?

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61760
    
  67

As a <div> cannot gain focus, it can't lose focus. So, no blur event.

Is mouseout perhaps what you seek?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: does <div> have any onBlur method ?