I am learning web development using Django and have some problems in where to put the code taking chage of whether to submit the request in the HTML code<
Django
HTML code<
Use window.confirm() instead of window.alert().
HTML:
JavaScript:
function clicked() { return confirm('clicked'); }