On Mar 5, 2009, at 11:01 PM, mkmanning wrote:
short answer: DIVs can't receive focus()
They can receive focus if they have a tabIndex property applied to them. If, for example, you incremented each div's tabIndex, you could then tab through them.
$('div').each(function(index) { $(this).attr('tabIndex', index+1); });I wouldn't try this with just "div" in the selector, though, if you have a fairly complex page.
--Karl ____________ Karl Swedberg www.englishrules.com www.learningjquery.com