Update javascript.rst

This commit is contained in:
hankhank10 2022-06-23 10:02:28 +01:00
parent ab36542260
commit 3009778127

View file

@ -184,7 +184,7 @@ Replacing Content
A response might be new HTML, either a new section of the page to add or A response might be new HTML, either a new section of the page to add or
replace, or an entirely new page. In general, if you're returning the replace, or an entirely new page. In general, if you're returning the
entire page, it would be better to handle that with a redirect as shown entire page, it would be better to handle that with a redirect as shown
in the previous section. The following example shows how to a ``<div>`` in the previous section. The following example shows how to replace a ``<div>``
with the HTML returned by a request. with the HTML returned by a request.
.. code-block:: html .. code-block:: html