There were actual shortcuts for quite a few methods like this, I think
in 1.0, removed in 1.1. Its easy enough to write your own id-plugin,
or just use this.id, with this referring to the dom element in each
and every event handler.

Jörn

On Tue, Nov 18, 2008 at 7:23 PM, Hannibal <[EMAIL PROTECTED]> wrote:
>
> First I wanted to thank all the people involved in developing jQuery,
> it has changed my way of programming and greatly improved what I can
> do with my code.
>
> Looking at how I write event handlers and manipulators it appears that
> I used the .attr("id") call a lot. I doubt that I'm the only one, in
> fact I believe that is a pretty common pattern among developers. It
> will probably speed up jQuery a bit to provide a method to access
> often-used properties directly.  Implementing jQuery.id() could help
> us avoid the overhead of jQuery.attr() in crucial parts of the
> applications and result in an overall speed-up
>
> Thoughts?
>
> --
> Paolo
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to