Your Question is not very clear, how I understand you is you want to be able to click the div and do something as if you clicked a button.
See the code below;
<html>
<head>
<title>Hello World! Sample Page</title>
<script type="text/javascript">
function divClick() {
alert("Hello World!");
}
</script>
</head>
<body>
<div onclick="divClick()">Please Click Me!</div>
</body>
</html>