Interestingly (or not), IE allows you to put a tabindex="" on a div which will put it in the queue to gain focus. It fires the event properly. Firefox doesn't seem to allow this.
Glen On 8/14/07, Mitchell Waite <[EMAIL PROTECTED]> wrote: > > Hi gang > > > > Is there a way to use focus with a div rather than just an input element? > > > > If there is not how would you handle it so when a container gains or > losses focus some visual effect occurs (like its background becomes gray). > > > > Thanks > > > > Mitch >