I'm not sure what you mean exactly, but do what about:

var domReady = false;
window.addEvent('domready', function () {
  domReady = true;
});

Then you can just have

if (domReady) {
  // If dom is ready
} else {
  // If dom is not ready
}

elsewhere in the code.

In case this is not helpful and I have mis-understood, can I ask what
you need this for?

Michal.

On Dec 25, 6:05 pm, Kovo <[email protected]> wrote:
> How could I check to see if 'domready' is complete?
> I almost have it, but just want to know if theres an easier way with
> mootools to check if dom is already ready
>
> Meaning it would be checked after this event  window.addEvent
> ('domready'.......
>
> Thanks!

Reply via email to