Can I submit a html Like this: with
?
Yes, it's fairly simple. Just use the submit[jQuery docs] method inside of a click
handler function.
$("#myDiv").click(function() {
$("#myForm").submit();
});
If you prefer, you can do it with vanilla Javascript:
document.getElementById("myDiv").onclick = function() {
document.getElementById("myForm").submit();
};