Update javascript.rst

This commit is contained in:
hankhank10 2022-06-23 10:59:43 +01:00 committed by David Lord
parent 9c50b8fc1c
commit abcb6c9677
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8

View file

@ -184,8 +184,8 @@ Replacing Content
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
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>``
with the HTML returned by a request.
in the previous section. The following example shows how to replace a
``<div>`` with the HTML returned by a request.
.. code-block:: html