I want to be able to submit a form but instead of having to click on a submit button, I\'d like to be able to click on an element and have it submit.
JavaScript.
Wire the onclick event of the element. Get a reference to the form.
var frm = document.getElementById('formid');
Submit it.
frm.submit()