I currently have a checkbox that calls a Javascript-function:
<input type="checkbox" name="name1" id="name1" class="form-check-input" value="1" onchange="submitFunction(1);">
I'd like to change this into a button that calls the same JS-function when pressed. This feels trickier than it should be...I've had a look at the alternatives under this link, but haven't cracked it yet.
https://manual.joomla.org/docs/general- ... rd-fields/
Any help/pointers would be much appreciated.
<input type="checkbox" name="name1" id="name1" class="form-check-input" value="1" onchange="submitFunction(1);">
I'd like to change this into a button that calls the same JS-function when pressed. This feels trickier than it should be...I've had a look at the alternatives under this link, but haven't cracked it yet.
https://manual.joomla.org/docs/general- ... rd-fields/
Any help/pointers would be much appreciated.
Statistics: Posted by Natrixx — Sat Dec 28, 2024 10:54 am