Skip to content
Myr

Merge pull request #2970 from stepharr/patch-1

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

AJAX with jQuery: Adding conjunction where for clarification

authored by David Lord · committed by GitHub · parents 7474a9c, ab7f9e7 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/patterns/jquery.rst+1 added-1 removed
103 unmodified lines
104 def index():105 return render_template('index.html')106107As you can see I also added an `index` method here that renders a108template. This template will load jQuery as above and have a little form108template. This template will load jQuery as above and have a little form where109we can add two numbers and a link to trigger the function on the server110side.111112Note that we are using the :meth:`~werkzeug.datastructures.MultiDict.get` method here
55 unmodified lines