jQuery-AJAX in FLASK. Execute function on button click

{{result}}
{{result}}
{{result}}