Documentation for ajax load() missing - found instead on load() event
|Reported by:||Owned 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.