<form method="post" action="{{ url_for('admin.new_post',
Content='<script type="text/javascript">getcontent();</script>') }}">
{{ form.csrf_token }}
{# {{ render_form(form) }}#}
{{ render_field(form.title) }}
{{ render_field(form.category) }}
{{ render_field(form.address) }}
{{ render_field(form.submit) }}
这面上段代码,我怎么在jinjia2中调用javascript函数’