[jQuery] Re: define and invoke class inside $(document).ready
Yep, I intend to use myClass outside of document ready.
I thought that in order to use jQuery as follows this.imagesHolder = jQuery("#imgs"); inside of MyClass I would have to enclose it inside $(document).ready(function(){... so that DOM is ready before invoking MyClass. Is my assumption wrong?
No comments:
Post a Comment