Bug Tracker

Opened 5 years ago

Closed 5 years ago

#10464 closed bug (fixed)

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:
Blocked by: Blocking:


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 (1)

comment:1 Changed 5 years ago by addyosmani

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

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

Note: See TracTickets for help on using tickets.