Sam Collett schrieb:
> Can't you cut the amount of code down even further (you don't need to
> use each, then focus)?
>
> $(function() {
> $('#my-form [EMAIL PROTECTED]"text"]').focus(function() {
> $(this).prev('input:eq(0)').attr('checked',true);
> });
> });Aah, thanks Sam! Nice! Sometimes I forget how concise jQuery can be :-) -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
