Skip to content
Myr

Merge pull request #4652 from hankhank10/2.1.x

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by GitHub · parents 9c50b8f, abcb6c9 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/patterns/javascript.rst+2 added-2 removed
182 unmodified lines
183184A response might be new HTML, either a new section of the page to add or185replace, or an entirely new page. In general, if you're returning the186entire page, it would be better to handle that with a redirect as shown187in the previous section. The following example shows how to a ``<div>``188with the HTML returned by a request.187in the previous section. The following example shows how to replace a188``<div>`` with the HTML returned by a request.189190.. code-block:: html191192 <div id="geology-fact">
67 unmodified lines