$('mydiv').select('input','select')[0];
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: Tony Andrews tony.andrew...@googlemail.com
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Tuesday, January 05, 2010 3:17 PM
Subject:
I have already posted a question about this on StackOverflow here
(http://stackoverflow.com/questions/2006432/finding-the-first-
focusable-item-of-any-type-within-a-div) so I won't repeat the whole
thing. My issue is that I want to select the first form item of any
type (input, select etc.)