On 11/27/06, Sam Collett <[EMAIL PROTECTED]> wrote:
> Along with that, I have reduced the number of times 'attr' is used:
>
> i.e.
> $("<a>").attr({'title' : 'Foo', 'rel'  : 'myrel', 'href' : 'javascript:;'})
>
> becomes:
> $("<a>").title('Foo').rel('myrel').href('javascript:;')

I'm curious why you have done this?

Those helper methods might be deprecated from the core in the 1.1 release.

--
Brandon Aaron

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to