diff --git a/docs/patterns/index.rst b/docs/patterns/index.rst index f765cd8a..d7338ac0 100644 --- a/docs/patterns/index.rst +++ b/docs/patterns/index.rst @@ -29,7 +29,7 @@ collected in the following pages. wtforms templateinheritance flashing - jquery + javascript lazyloading mongoengine favicon diff --git a/docs/patterns/javascript.rst b/docs/patterns/javascript.rst new file mode 100644 index 00000000..046029f4 --- /dev/null +++ b/docs/patterns/javascript.rst @@ -0,0 +1,259 @@ +JavaScript, ``fetch``, and JSON +=============================== + +You may want to make your HTML page dynamic, by changing data without +reloading the entire page. Instead of submitting an HTML ``