Jörn Zaefferer schrieb:
> 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.

$($("#second,#first")[0].focus);

It is a reference, right? Oh please!

:-)


-- Klaus


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to