12345678910111213141516171819202122232425262728293031323334 |
- <!doctype html>
- <html>
- <head>
- <title>The jQuery Example</title>
- <h2>jQuery-AJAX in FLASK. Execute function on button click</h2>
-
- </head>
- <body>
-
- <pre>{{result}}</pre>
- <pre>{{result}}</pre>
- <pre>{{result}}</pre>
- <form method="post" action="{{ url_for('SomeFunction') }}">
- <input type="text" name="user">
- <input type="submit" name="send" value="送出">
- </form>
- <form method="post" action="{{ url_for('fuck') }}">
- <input type="text" name="axv">
- <input type="submit" name="send" value="送出">
- </form>
- <form method="post" action="{{ url_for('check_mosquitto') }}">
- <input type="text" name="user">
- <input type="submit" name="send" value="送出">
- </form>
- </body>
- </html>
|