Skip to main content

Bug Tracker

Side navigation

#10464 closed bug (fixed)

Opened October 10, 2011 02:36PM UTC

Closed October 11, 2011 06:48AM UTC

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

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

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.

Attachments (0)
Change History (1)

Changed October 11, 2011 06:48AM UTC by addyosmani comment:1

component: unfiledajax
priority: undecidedhigh
resolution: → fixed
status: newclosed

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