Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added note about cross-domain XHRs.

...

The div tag is a content area that can load its content asynchronously. The div tag can be forced to reload its content using topics. To define the topics that will trigger the refresh of the panel, use the "listenTopics" attribute. This tag will load its content when the page is loaded, unless "autoStart" is set to "false".

Note

While Dojo supports crossdomain XHR using IFrames, the S2 Ajax tags do not (yet).

Examples

This div will refresh every time the topics "/refresh0" or "/refresh1" are published:

...