Bug Tracker


Ticket #10464 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Documentation for ajax load() missing - found instead on load() event

Reported by: oskar.berggren@… Owned by:
Priority: high Milestone: None
Component: ajax Version: 1.6.4
Keywords: Cc:
Blocking: Blocked by:


Some content in the documenation for the load() event does not belong there. It belongs to the documentation for the load() function in the AJAX module instead.

The documenation for the load() function in the ajax module fails to clearly document how scripts in the loaded content is handled, and how the handling differs based if a fragment selector is used or not. This is a fairly important detail that I've been bitten by and that is difficult to debug.

It turns out that documentation for this behavior is in fact found on the load() event page.

See the paragraph starting with "Note: When calling .load() using a URL without a suffixed selector expression, the ..." and anything below that until the "Examples" header. This should be moved to the ajax load() function.

Change History

comment:1 Changed 3 years ago by addyosmani

  • Priority changed from undecided to high
  • Resolution set to fixed
  • Status changed from new to closed
  • Component changed from unfiled to ajax

Thanks for flagging this. I've just gone in and made the necessary changes so they should be live on the docs site soon.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Add a comment

Modify Ticket

as closed

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.