I forgot to mention that I have added the elementReady plugin to the
plugin repository at
http://jquery.com/plugins/project/elementReady

I'm looking forward to your comments and suggestions!

Cheerio
Bennett.


On Aug 29, 10:44 pm, Bennett McElwee <[EMAIL PROTECTED]> wrote:
> I have written a simple but useful jQuery plugin.
> jQuery.elementReady() calls a function during page load as soon as a
> specific element is available -- even before the full DOM is loaded.
> It's useful if you have unobtrusive JavaScript that you want to apply
> to particular page elements immediately, without having to wait for
> the whole DOM to load in a large page.
>
> Using the elementReady plugin is very similar to the existing
> jQuery.ready() function, except that you must also pass in a string
> representing the ID of the element that should have the function call
> attached.
>
> The plugin, documentation and more are available 
> athttp://www.thunderguy.com/semicolon/2007/08/14/elementready-jquery-pl...
>
> This is an early version of the plugin. While it works well for me in
> testing (and on this page), it has not been reviewed or exhaustively
> tested. I would appreciate your comments on the idea and the
> implementation.

Reply via email to