Usually form submission is only used for POST or GET communications with a server. If you want click functionality for some dynamic content use
<input type="button" onclick="jsfunction()"> or an anchor tag which calls jsfunction().
You could use something like this:
<div id="foo"> I'm a div! </div>
You can ease your work using jQuery:
Another plus is, that the name of css attribute in latter is same as it is in HTML.