I want to add a javascript function to html which gets a jinja function as input like this
onclick=javascript_func(event, "{{ url_for(\'details\') }}&quo