I have ASP.Net code generating my button's HTML for me using divs to get it to look and behave how I want. This question is regarding the HTML produced by the ASP.Net code.
A standard button is easy, just set the onClick event of the div to change the page location:
<form action="whatever.html" method="post">
this in div onclick don't have attribute
form, you may try
document.forms.submit() will do
onClick, should be
onclick, some browsers don't work with