I'm making a flask website with bootstrap styling and I have a form with some radio style buttons (made with <input>
html tag). I've been trying to call a js function through onclick=""
but for me it only seems to work with real buttons (<button>
tags). Here's my code.
<label id="multiBot" class="bsstyle" data-toggle="collapse" href=".multi-collapse">
<input type="checkbox" name="multis" checked autocomplete="off" id="mult" value="Mults" onchange="canvititol()"> Text
</label>