Skip to content
Myr

Update javascript.rst

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

authored by hankhank10 · committed by David Lord · parent 9c50b8f · 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