Download testbed/pallets__flask/examples/javascript/js_example/templates/jquery.html from hc99/FEA-Bench: direct link, hf CLI and curl.
- Browser
- Download file 666 Bytes
-
https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/pallets__flask/examples/javascript/js_example/templates/jquery.html
- Command line
-
hf download hf://datasets/hc99/FEA-Bench/testbed/pallets__flask/examples/javascript/js_example/templates/jquery.html
-
curl -L -o jquery.html https://huggingface.co/datasets/hc99/FEA-Bench/resolve/main/testbed/pallets__flask/examples/javascript/js_example/templates/jquery.html
666 Bytes
| {% extends 'base.html' %} | |
| {% block intro %} | |
| <a href="https://jquery.com/">jQuery</a> is a popular library that | |
| adds cross browser APIs for common tasks. However, it requires loading | |
| an extra library. | |
| {% endblock %} | |
| {% block script %} | |
| <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script> | |
| <script> | |
| function addSubmit(ev) { | |
| ev.preventDefault(); | |
| $.ajax({ | |
| method: 'POST', | |
| url: {{ url_for('add')|tojson }}, | |
| data: $(this).serialize() | |
| }).done(addShow); | |
| } | |
| function addShow(data) { | |
| $('#result').text(data.result); | |
| } | |
| $('#calc').on('submit', addSubmit); | |
| </script> | |
| {% endblock %} | |