<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>test</title>
<style type="text/css">
.test {
font-size: 60px;
text-align: center;
height: 300px;
background: red;
cursor: pointer;
}
</style>
<script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
</head>
<body>
<div class="test">click me!</div>
<script type="text/javascript">
$(document).on("click", ".test", function() {
alert(1);
});
</script>
</body>
</html>