Dave Methvin schrieb:
>> $(function() {
>> ( $("#second")[0] || $("#first")[0] ).focus(); });
>>
>
> Wow, the way you guys waste keystrokes it's a wonder you get anything done.
> :-)
>
> $(function(){ $("#second,#first")[0].focus() });
>
Good job, Dave! Can't think of any way to get that any shorter.-- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
