Nope. .ready() is only a global operation.

You would need to do:
$(document).ready(function(){
  $(".someclass")....
});

$(".class") could never work because the system would never know when
all the classes had been loaded, or not. What if there were no
elements with that class on the page?

--John

On 2/9/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> is there any point to this type code?
> $('.someclass').ready(function(){...}
>
> I don't understand it.
>
> I could image some uses for ready outside of the normal $(document)
> kind... but it all seems to be microseconds of saving.
>
> Did I miss something?
>
>
> --
> Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to