#148 doc
David Reese

[docs] event:observe should mention dom:loaded

Reported by David Reese | June 5th, 2008 @ 09:04 PM | in Inline documentation

RE: http://prototypejs.org/api/event...

In the AIP documentation for Event.observe, one section erroneously mentions the non-existence of a dom:loaded event, and even links to an external site with an older dom:ready implementation.

Note that if your page is heavy, you might want to run this code before the page is fully loaded: just wait until the DOM is loaded, that will be enough. There is currently no standard event for this, but here is a helpful article you can use. <<<

It would be helpful to mention the actual prototype dom:loaded event instead.

dom:loaded is documented here: http://prototypejs.org/api/docum...

Comments and changes to this ticket

  • John-David Dalton

    John-David Dalton June 5th, 2008 @ 09:56 PM

    • → Milestone changed from “” to “Inline documentation”
    • → State changed from “new” to “doc”
    • → Title changed from “[docs] event:observe should mention dom:loaded” to “Event#observe docs should mention dom:loaded”
    • → Assigned user changed from “” to “Tobie Langel”
  • John-David Dalton

    John-David Dalton October 23rd, 2008 @ 06:28 PM

    • → Tag changed from “” to “needs_docs”
    • → Title changed from “Event#observe docs should mention dom:loaded” to “[docs] event:observe should mention dom:loaded”

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Prototype JavaScript library.

Shared Ticket Bins

People watching this ticket

Tags